Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralServices Advanced Pin
JensB23-Feb-04 0:08
JensB23-Feb-04 0:08 
GeneralCrash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 0:01
Gero Gerber23-Feb-04 0:01 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 0:06
Prakash Nadar23-Feb-04 0:06 
GeneralRe: Crash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 0:09
Gero Gerber23-Feb-04 0:09 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 0:39
Prakash Nadar23-Feb-04 0:39 
GeneralRe: Crash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 1:28
Gero Gerber23-Feb-04 1:28 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 1:42
Prakash Nadar23-Feb-04 1:42 
General_beginthread PROBLEM Pin
Caoimh22-Feb-04 23:54
Caoimh22-Feb-04 23:54 
Require some help in relation to the problem illustrated below

struct THREAD_CONTROL
{
HNADLE hDevice;
HANDlE hEvent;

};


HANDLE inThreadControl;
inThreadControl.hDevice = hDeviceWrite;
inThreadControl.hEvent = WriteEvent;
_beginthread(ThreadEZUSBWrite,0, &inThreadControl);


void ThreadEZUSBWrite(THREAD_CONTROL pThreadCtrl)
{
// TODO HERE

}

error C2664: '_beginthread' :
cannot convert parameter 1 from 'void (struct THREAD_CONTROL)' to 'void (__cdecl *)(void *)'
None of the functions with this name in scope match the target typ

Suggested appreciated

Kind Regards
Kevin



GeneralRe: _beginthread PROBLEM Pin
Balkrishna Talele23-Feb-04 0:03
Balkrishna Talele23-Feb-04 0:03 
GeneralRe: _beginthread PROBLEM Pin
Prakash Nadar23-Feb-04 0:03
Prakash Nadar23-Feb-04 0:03 
GeneralHEADER FILE PROBLEM Pin
Caoimh22-Feb-04 23:14
Caoimh22-Feb-04 23:14 
GeneralRe: HEADER FILE PROBLEM Pin
_Magnus_22-Feb-04 23:17
_Magnus_22-Feb-04 23:17 
GeneralRe: HEADER FILE PROBLEM Pin
Balkrishna Talele22-Feb-04 23:52
Balkrishna Talele22-Feb-04 23:52 
GeneralRe: HEADER FILE PROBLEM Pin
Prakash Nadar23-Feb-04 0:11
Prakash Nadar23-Feb-04 0:11 
GeneralRe: HEADER FILE PROBLEM Pin
Caoimh23-Feb-04 1:42
Caoimh23-Feb-04 1:42 
GeneralRandom numbers Pin
amit sebiz22-Feb-04 23:14
amit sebiz22-Feb-04 23:14 
GeneralRe: Random numbers Pin
Elmar Weber22-Feb-04 23:33
Elmar Weber22-Feb-04 23:33 
GeneralRe: Random numbers Pin
Prakash Nadar23-Feb-04 0:12
Prakash Nadar23-Feb-04 0:12 
GeneralRe: Random numbers Pin
Elmar Weber23-Feb-04 0:35
Elmar Weber23-Feb-04 0:35 
GeneralRe: Random numbers Pin
amit sebiz23-Feb-04 2:18
amit sebiz23-Feb-04 2:18 
GeneralEDIT BOX PROBLEMS Pin
Caoimh22-Feb-04 23:06
Caoimh22-Feb-04 23:06 
GeneralRe: EDIT BOX PROBLEMS Pin
Prakash Nadar23-Feb-04 0:15
Prakash Nadar23-Feb-04 0:15 
GeneralMacros in Windowsx.h Pin
JGStanier22-Feb-04 23:02
JGStanier22-Feb-04 23:02 
GeneralRe: Macros in Windowsx.h Pin
Prakash Nadar23-Feb-04 0:22
Prakash Nadar23-Feb-04 0:22 
Generalneed help in connecting VC++ with Oracle Pin
alex30322-Feb-04 23:01
alex30322-Feb-04 23:01 

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.