Click here to Skip to main content
15,896,468 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Direct Show and Multiple sound cards!! Pin
Rajkumar R8-Feb-08 2:23
Rajkumar R8-Feb-08 2:23 
GeneralConvert CString to DWORD or CString to COLORREF Pin
orihime8-Feb-08 0:06
orihime8-Feb-08 0:06 
GeneralRe: Convert CString to DWORD or CString to COLORREF Pin
Rajkumar R8-Feb-08 0:11
Rajkumar R8-Feb-08 0:11 
GeneralRe: Convert CString to DWORD or CString to COLORREF [modified] Pin
CPallini8-Feb-08 0:20
mveCPallini8-Feb-08 0:20 
GeneralRe: Convert CString to DWORD or CString to COLORREF Pin
orihime10-Feb-08 18:09
orihime10-Feb-08 18:09 
GeneralRe: Convert CString to DWORD or CString to COLORREF Pin
CPallini10-Feb-08 21:46
mveCPallini10-Feb-08 21:46 
Questionprivileged instruction exception in ultimate grid Pin
Anna Anna7-Feb-08 22:44
Anna Anna7-Feb-08 22:44 
GeneralRe: privileged instruction exception in ultimate grid Pin
Iain Clarke, Warrior Programmer8-Feb-08 1:12
Iain Clarke, Warrior Programmer8-Feb-08 1:12 
Make sure you the signature of your handling function correct. Do a search for ON_NOTIFY, and you get:
afx_msg void memberFxn( NMHDR * pNotifyStruct, LRESULT * result );

Similarly, OnLButtonDown is a TERRIBLE name. It matches up with the handler for ON_WM_LBUTTONDOWN.

Because the ON_XXXX macro casts the 3rd parameter, it won't tell you you're using the wrong function signature, and you'll just crash. As debug mode has lots of NOPs about, the chances of crashing are much lower.

Iain.

Iain Clarke appearing in spite of being begged not to by CPallini.

GeneralRe: privileged instruction exception - Problem solved Pin
Anna Anna8-Feb-08 3:27
Anna Anna8-Feb-08 3:27 
GeneralA very strange problem (to me at least) ..... Pin
Still learning how to code7-Feb-08 22:28
Still learning how to code7-Feb-08 22:28 
GeneralRe: A very strange problem (to me at least) ..... Pin
CPallini7-Feb-08 23:06
mveCPallini7-Feb-08 23:06 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code7-Feb-08 23:13
Still learning how to code7-Feb-08 23:13 
QuestionRe: A very strange problem (to me at least) ..... Pin
CPallini7-Feb-08 23:16
mveCPallini7-Feb-08 23:16 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code7-Feb-08 23:58
Still learning how to code7-Feb-08 23:58 
GeneralRe: A very strange problem (to me at least) ..... Pin
CPallini8-Feb-08 0:05
mveCPallini8-Feb-08 0:05 
GeneralRe: A very strange problem (to me at least) ..... Pin
Matthew Faithfull8-Feb-08 0:09
Matthew Faithfull8-Feb-08 0:09 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code8-Feb-08 0:59
Still learning how to code8-Feb-08 0:59 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code8-Feb-08 1:31
Still learning how to code8-Feb-08 1:31 
QuestionRe: A very strange problem (to me at least) ..... Pin
CPallini8-Feb-08 2:17
mveCPallini8-Feb-08 2:17 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code8-Feb-08 2:37
Still learning how to code8-Feb-08 2:37 
GeneralRe: A very strange problem (to me at least) ..... Pin
CPallini8-Feb-08 2:50
mveCPallini8-Feb-08 2:50 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code8-Feb-08 3:23
Still learning how to code8-Feb-08 3:23 
QuestionRe: A very strange problem (to me at least) ..... Pin
David Crow8-Feb-08 2:49
David Crow8-Feb-08 2:49 
GeneralRe: A very strange problem (to me at least) ..... Pin
Still learning how to code8-Feb-08 5:19
Still learning how to code8-Feb-08 5:19 
Generalnon-const static member variale initialization Pin
George_George7-Feb-08 21:16
George_George7-Feb-08 21: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.