Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Corruption of the heap. Why ? Pin
sdancer758-Jun-12 6:02
sdancer758-Jun-12 6:02 
AnswerRe: Corruption of the heap. Why ? Pin
Aescleal8-Jun-12 3:00
Aescleal8-Jun-12 3:00 
GeneralRe: Corruption of the heap. Why ? Pin
sdancer758-Jun-12 6:03
sdancer758-Jun-12 6:03 
GeneralRe: Corruption of the heap. Why ? Pin
sdancer759-Jun-12 3:43
sdancer759-Jun-12 3:43 
GeneralRe: Corruption of the heap. Why ? Pin
Aescleal9-Jun-12 9:51
Aescleal9-Jun-12 9:51 
GeneralRe: Corruption of the heap. Why ? Pin
sdancer759-Jun-12 23:58
sdancer759-Jun-12 23:58 
GeneralRe: Corruption of the heap. Why ? Pin
sdancer7512-Jun-12 3:18
sdancer7512-Jun-12 3:18 
QuestionException when debugging Multithread Pin
ForNow7-Jun-12 19:04
ForNow7-Jun-12 19:04 
Hi,

I am getting an exception when debugging a application after invoking CWinThread

The following is my invocation of AfxBeginThread


<pre lang='cpp'>
AfxBeginThread(RUNTIME_CLASS(SockCLeintThread),
THREAD_PRIORITY_NORMAL,
0,CREATE_SUSPENDED);

</pre>



The way I read the documentation if the first parm is CRuntimeClass* pThreadClass
the way I have it coded then its a UI thread

However while debugging the application and looking at the Thread DEBUG->
WINDOWS->THREADS The Visual Studio debugger marks the thread as a worker thread


I create the thread in a modal Dialog after at the end of one of the methods of modal dialog box I destory the modal dialog box via EndDialog don't know if this a issue

Also can sone one tell me What the /MD and /MT linker options are

Thanks
AnswerRe: Exception when debugging Multithread Pin
«_Superman_»7-Jun-12 19:15
professional«_Superman_»7-Jun-12 19:15 
GeneralRe: Exception when debugging Multithread Pin
ForNow7-Jun-12 23:53
ForNow7-Jun-12 23:53 
GeneralRe: Exception when debugging Multithread Pin
ForNow7-Jun-12 23:58
ForNow7-Jun-12 23:58 
AnswerRe: Exception when debugging Multithread Pin
Erudite_Eric7-Jun-12 20:34
Erudite_Eric7-Jun-12 20:34 
AnswerRe: Exception when debugging Multithread Pin
Richard MacCutchan7-Jun-12 21:53
mveRichard MacCutchan7-Jun-12 21:53 
GeneralRe: Exception when debugging Multithread Pin
Erudite_Eric7-Jun-12 23:35
Erudite_Eric7-Jun-12 23:35 
GeneralRe: Exception when debugging Multithread Pin
Richard MacCutchan8-Jun-12 0:19
mveRichard MacCutchan8-Jun-12 0:19 
QuestionCalculate checksum using ASLR Pin
Giggsey737-Jun-12 8:39
Giggsey737-Jun-12 8:39 
QuestionRe: Calculate checksum using ASLR Pin
David Crow7-Jun-12 8:43
David Crow7-Jun-12 8:43 
AnswerRe: Calculate checksum using ASLR Pin
Giggsey737-Jun-12 8:46
Giggsey737-Jun-12 8:46 
AnswerRe: Calculate checksum using ASLR Pin
David Crow7-Jun-12 8:55
David Crow7-Jun-12 8:55 
GeneralRe: Calculate checksum using ASLR Pin
Giggsey737-Jun-12 9:08
Giggsey737-Jun-12 9:08 
GeneralRe: Calculate checksum using ASLR Pin
Giggsey738-Jun-12 8:34
Giggsey738-Jun-12 8:34 
GeneralRe: Calculate checksum using ASLR Pin
Randor 8-Jun-12 9:48
professional Randor 8-Jun-12 9:48 
GeneralRe: Calculate checksum using ASLR Pin
Giggsey738-Jun-12 18:48
Giggsey738-Jun-12 18:48 
GeneralRe: Calculate checksum using ASLR Pin
Randor 9-Jun-12 4:36
professional Randor 9-Jun-12 4:36 
GeneralRe: Calculate checksum using ASLR Pin
Giggsey739-Jun-12 4:52
Giggsey739-Jun-12 4:52 

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.