Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: check status CD Pin
photomatic15-May-06 22:32
photomatic15-May-06 22:32 
QuestionDos printing from Win Xp Pin
mikobi15-May-06 3:15
mikobi15-May-06 3:15 
AnswerRe: Dos printing from Win Xp Pin
basementman15-May-06 5:08
basementman15-May-06 5:08 
QuestionUpdate Views Pin
masnu15-May-06 3:06
masnu15-May-06 3:06 
AnswerRe: Update Views Pin
Cedric Moonen15-May-06 3:09
Cedric Moonen15-May-06 3:09 
GeneralRe: Update Views Pin
masnu15-May-06 3:48
masnu15-May-06 3:48 
Questionneeded dll's on other computers Pin
Grimes15-May-06 2:45
Grimes15-May-06 2:45 
AnswerRe: needed dll's on other computers Pin
Cedric Moonen15-May-06 3:00
Cedric Moonen15-May-06 3:00 
AnswerRe: needed dll's on other computers Pin
Eytukan15-May-06 3:25
Eytukan15-May-06 3:25 
AnswerRe: needed dll's on other computers Pin
-Dy15-May-06 5:15
-Dy15-May-06 5:15 
GeneralRe: needed dll's on other computers Pin
Grimes15-May-06 9:39
Grimes15-May-06 9:39 
QuestionRemote Connection Pin
Anu_Bala15-May-06 2:31
Anu_Bala15-May-06 2:31 
AnswerRe: Remote Connection Pin
NiceNaidu15-May-06 19:26
NiceNaidu15-May-06 19:26 
GeneralRe: Remote Connection Pin
Anu_Bala15-May-06 22:57
Anu_Bala15-May-06 22:57 
Question[Message Deleted] Pin
ddmcr15-May-06 2:13
ddmcr15-May-06 2:13 
AnswerRe: Command line parameters [modified] Pin
Leo Davidson15-May-06 2:31
Leo Davidson15-May-06 2:31 
QuestionWin32 DLL project randomly crashes after moving to VS2005 Pin
Leo Davidson15-May-06 2:12
Leo Davidson15-May-06 2:12 
AnswerRe: Win32 DLL project randomly crashes after moving to VS2005 Pin
Stephen Hewitt15-May-06 16:17
Stephen Hewitt15-May-06 16:17 
I would suspect heap corruption. Try enabling the page heap. How to do this:
1. Download WinDBG from Microsoft here[^].
2. Install it.
3. Select "Start Menu->Programs->Debugging Tools for Windows->Global Flags".
4. Select the "Verifier" tab.
5. Enter the name of your EXE in the "image" edit box and press TAB. e.g. "Notepad.exe".
6. Tick "Enable" & "PageHeap".
7. Press "OK"

Run you application. It will run many times slower then normal and consume much more memory. In some cases I have been unable to run a particular application as my machine didn't have enough memory; you may need a beefy machine for this kind of debugging.

Don't forget to turn off the page heap when done. To do this enter the EXE name, remove the options we added and press OK. Let me know if you have any questions along the way.



Steve
GeneralRe: Win32 DLL project randomly crashes after moving to VS2005 Pin
Leo Davidson16-May-06 1:26
Leo Davidson16-May-06 1:26 
QuestionHow to create Windows service for listening on a socket Pin
zahid_ash15-May-06 1:52
zahid_ash15-May-06 1:52 
AnswerRe: How to create Windows service for listening on a socket Pin
led mike15-May-06 5:32
led mike15-May-06 5:32 
GeneralRe: How to create Windows service for listening on a socket Pin
zahid_ash15-May-06 19:20
zahid_ash15-May-06 19:20 
GeneralRe: How to create Windows service for listening on a socket Pin
led mike15-May-06 19:57
led mike15-May-06 19:57 
QuestionGetting Scroll information Pin
Sarath C15-May-06 1:44
Sarath C15-May-06 1:44 
AnswerRe: Getting Scroll information Pin
Russell'15-May-06 2:16
Russell'15-May-06 2:16 

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.