Click here to Skip to main content
15,894,017 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: uint64 in VC++ 6.0 Compiler?? [modified] Pin
Mark Salsbery8-Nov-06 12:57
Mark Salsbery8-Nov-06 12:57 
GeneralRe: uint64 in VC++ 6.0 Compiler?? Pin
pavanbabut8-Nov-06 13:22
pavanbabut8-Nov-06 13:22 
GeneralRe: uint64 in VC++ 6.0 Compiler?? Pin
Mark Salsbery8-Nov-06 13:29
Mark Salsbery8-Nov-06 13:29 
AnswerRe: uint64 in VC++ 6.0 Compiler?? Pin
Steve S8-Nov-06 21:36
Steve S8-Nov-06 21:36 
QuestionReading a Line to a string from a file Pin
mehmetned8-Nov-06 10:49
mehmetned8-Nov-06 10:49 
AnswerRe: Reading a Line to a string from a file Pin
Rick York8-Nov-06 11:01
mveRick York8-Nov-06 11:01 
GeneralRe: Reading a Line to a string from a file Pin
mehmetned8-Nov-06 12:08
mehmetned8-Nov-06 12:08 
QuestionHow i put a Boolean in if () {} Pin
Immunity188-Nov-06 10:07
Immunity188-Nov-06 10:07 
AnswerRe: How i put a Boolean in if () {} Pin
skullfire8-Nov-06 10:17
skullfire8-Nov-06 10:17 
GeneralRe: How i put a Boolean in if () {} Pin
Immunity188-Nov-06 10:22
Immunity188-Nov-06 10:22 
GeneralRe: How i put a Boolean in if () {} Pin
skullfire8-Nov-06 10:32
skullfire8-Nov-06 10:32 
GeneralRe: How i put a Boolean in if () {} Pin
Waldermort8-Nov-06 10:33
Waldermort8-Nov-06 10:33 
GeneralRe: How i put a Boolean in if () {} Pin
Immunity188-Nov-06 10:34
Immunity188-Nov-06 10:34 
GeneralRe: How i put a Boolean in if () {} Pin
Waldermort8-Nov-06 11:15
Waldermort8-Nov-06 11:15 
AnswerRe: How i put a Boolean in if () {} Pin
Hamid_RT9-Nov-06 7:24
Hamid_RT9-Nov-06 7:24 

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.