Click here to Skip to main content
15,891,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Did you declare the prototype of the thread function before it is called?

and also the input parameter of the thread function is and should be void* not THREAD_CONTROL

so in a nutshell

//thread proc

void ThreadEZUSBWrite(void* pThreadCtrl)
{
  THREAD_CONTROL *pControl;
  pControl = (THREAD_CONTROL*) pThreadCtrl; 
// TODO HERE

}

//and to start the thread.

...
_beginthread(ThreadEZUSBWrite,0, (void*)&inThreadControl);
...






1.Why do people not wearing a wrist watch look at their wrist for time when people ask for time.
2.Why do people ask for time from people who are not wearing a wrist watch.
Prakash,
India.
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 
GeneralMFC Serialization Pin
Neha22-Feb-04 22:28
Neha22-Feb-04 22:28 
GeneralRe: MFC Serialization Pin
Selvam R23-Feb-04 0:25
professionalSelvam R23-Feb-04 0:25 

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.