Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 12:44
Stephen Hewitt8-Nov-06 12:44 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:00
Llasus8-Nov-06 13:00 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 13:05
Stephen Hewitt8-Nov-06 13:05 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:13
Llasus8-Nov-06 13:13 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 13:15
Stephen Hewitt8-Nov-06 13:15 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:27
Llasus8-Nov-06 13:27 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:01
Stephen Hewitt8-Nov-06 14:01 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:09
Llasus8-Nov-06 14:09 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:12
Stephen Hewitt8-Nov-06 14:12 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:25
Llasus8-Nov-06 14:25 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:28
Stephen Hewitt8-Nov-06 14:28 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 14:32
Llasus8-Nov-06 14:32 
GeneralRe: How to call a function inside a thread Pin
Stephen Hewitt8-Nov-06 14:48
Stephen Hewitt8-Nov-06 14:48 
AnswerRe: How to call a function inside a thread Pin
Mark Salsbery8-Nov-06 13:26
Mark Salsbery8-Nov-06 13:26 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:37
Llasus8-Nov-06 13:37 
GeneralRe: How to call a function inside a thread Pin
Jörgen Sigvardsson8-Nov-06 13:38
Jörgen Sigvardsson8-Nov-06 13:38 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 13:46
Llasus8-Nov-06 13:46 
GeneralRe: How to call a function inside a thread Pin
Llasus8-Nov-06 19:35
Llasus8-Nov-06 19:35 
QuestionCListCtrl spacing Pin
skullfire8-Nov-06 11:54
skullfire8-Nov-06 11:54 
QuestionRe: CListCtrl spacing Pin
David Crow9-Nov-06 3:59
David Crow9-Nov-06 3:59 
AnswerRe: CListCtrl spacing Pin
skullfire9-Nov-06 4:30
skullfire9-Nov-06 4:30 
QuestionRe: CListCtrl spacing Pin
David Crow9-Nov-06 4:34
David Crow9-Nov-06 4:34 
Questionuint64 in VC++ 6.0 Compiler?? [modified] Pin
pavanbabut8-Nov-06 11:42
pavanbabut8-Nov-06 11:42 
Hi,

I wonder if unsigned 64bit integer is valid on a vc++ 6.0 compiler. In my application I have to use uint64 data type and whenever I try to use the command that is assigned to this, it fails. These are the two syntaxes that I have to use to define the buffers and the second one is for 64bit unsigned integer buffer on a system having a 64bit compiler and the first one is for systems with non-64bit compiler. If I have to use the first one, how can I define the low/high offsets and low/high transferlen.

Suppose I want to start the buffer with zero offset and buffer length of 1024x1024bytes.

//*************************************************************************

uint32 _stdcall spcm_dwDefTransfer_i64m(// Defines the transer buffer by using 2 x 32 bit unsigned integer values for each 64 bit value
drv_handle hDevice, // handle to an already opened device
uint32 dwBufType, // type of the buffer to define
uint32 dwDirection, // the transfer direction as defined above
uint32 dwNotifySize, // amount of bytes after which i want do receive
void* pvDataBuffer, // pointer to the data buffer
uint32 dwBrdOffsH, // high part of offset in board memory
uint32 dwBrdOffsL, // low part of offset in board memory
uint32 dwTransferLenH, // high part of transfer buffer length
uint32 dwTransferLenL); // low part of transfer buffer length


//*************************************************************************

uint32 _stdcall spcm_dwDefTransfer_i64 (// Defines the transer buffer by using 64 bit unsigned integer values
drv_handle hDevice, // handle to an already opened device
uint32 dwBufType, // type of the buffer to define as listed above
uint32 dwDirection, // the transfer direction as defined above
uint32 dwNotifySize, // amount of bytes after which i want do receive
void* pvDataBuffer, // pointer to the data buffer
uint64 qwBrdOffs, // offset for transfer in board memory
uint64 qwTransferLen); // buffer length

thanks,
-Pavan.


-- modified at 18:07 Wednesday 8th November, 2006
AnswerRe: uint64 in VC++ 6.0 Compiler?? Pin
Waldermort8-Nov-06 12:00
Waldermort8-Nov-06 12:00 
GeneralRe: uint64 in VC++ 6.0 Compiler?? Pin
pavanbabut8-Nov-06 12:06
pavanbabut8-Nov-06 12:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.