Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #define and Streams Pin
markkuk12-Aug-04 1:31
markkuk12-Aug-04 1:31 
Generalposting data Pin
ozgul11-Aug-04 21:10
ozgul11-Aug-04 21:10 
GeneralRe: posting data Pin
Ravi Bhavnani11-Aug-04 21:30
professionalRavi Bhavnani11-Aug-04 21:30 
GeneralRe: posting data Pin
Milton Karimbekallil11-Aug-04 21:30
Milton Karimbekallil11-Aug-04 21:30 
GeneralRe: posting data Pin
ozgul11-Aug-04 22:15
ozgul11-Aug-04 22:15 
GeneralRe: posting data Pin
Milton Karimbekallil11-Aug-04 23:18
Milton Karimbekallil11-Aug-04 23:18 
GeneralRe: posting data Pin
mahade112-Aug-04 1:01
mahade112-Aug-04 1:01 
Generalschedule task Pin
Anonymous11-Aug-04 20:46
Anonymous11-Aug-04 20:46 
GeneralRe: schedule task Pin
Ravi Bhavnani11-Aug-04 21:03
professionalRavi Bhavnani11-Aug-04 21:03 
Generalon log off Pin
Anonymous11-Aug-04 20:36
Anonymous11-Aug-04 20:36 
GeneralRe: on log off Pin
Milton Karimbekallil11-Aug-04 20:57
Milton Karimbekallil11-Aug-04 20:57 
GeneralCEditView and XP Manifest Pin
paulb11-Aug-04 20:11
paulb11-Aug-04 20:11 
GeneralOpen *.jpg with iexplore.exe Pin
Member 22148011-Aug-04 20:08
Member 22148011-Aug-04 20:08 
GeneralRe: Open *.jpg with iexplore.exe Pin
dipeka11-Aug-04 22:41
dipeka11-Aug-04 22:41 
GeneralIWinHttpRequest Pin
sereneguy11-Aug-04 20:08
sereneguy11-Aug-04 20:08 
QuestionHow to access USB port from VC++ Pin
Fatboyslim11-Aug-04 20:07
Fatboyslim11-Aug-04 20:07 
GeneralXML Parsing Pin
11-Aug-04 19:19
suss11-Aug-04 19:19 
GeneralRe: XML Parsing Pin
11-Aug-04 19:49
suss11-Aug-04 19:49 
GeneralRe: XML Parsing Pin
*Dreamz11-Aug-04 20:41
*Dreamz11-Aug-04 20:41 
GeneralRe: XML Parsing Pin
paulb11-Aug-04 21:10
paulb11-Aug-04 21:10 
GeneralRe: XML Parsing Pin
Rassul Yunussov12-Aug-04 0:09
Rassul Yunussov12-Aug-04 0:09 
GeneralMultithreading - passing message to a window question Pin
Indrawati11-Aug-04 19:05
Indrawati11-Aug-04 19:05 
GeneralRe: Multithreading - passing message to a window question Pin
Milton Karimbekallil11-Aug-04 20:50
Milton Karimbekallil11-Aug-04 20:50 
GeneralRe: Multithreading - passing message to a window question Pin
Ravi Bhavnani11-Aug-04 20:52
professionalRavi Bhavnani11-Aug-04 20:52 
GeneralRe: Multithreading - passing message to a window question Pin
Rory Solley11-Aug-04 21:29
Rory Solley11-Aug-04 21:29 
I presume you are passing a custom message to your window, e.g. WM_MYMESSAGE or something (defined from WM_USER + <some arbitrary="" number=""> or you've used RegisterMessage)?

I'm also assuming that your message handler is something like:

LRESULT OnMyMessage(WPARAM wParam, LPARAM lParam);

You MUST make sure that you include the WPARAM and LPARAM arguments. Omitting them will work in DEBUG but will NOT work in release build. This is due to the way the stack is padded in debug builds. In a release build, the message map will expect the arguments - if they're not there, you will corrupt the stack, resulting in an exception.

Apologies if this is not what you're after, I'm just making blind assumptions from your original post.

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.