Click here to Skip to main content
15,916,042 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: delete operator [modified] Pin
CPallini16-May-08 4:42
mveCPallini16-May-08 4:42 
AnswerRe: delete operator Pin
David Crow16-May-08 5:00
David Crow16-May-08 5:00 
GeneralRe: delete operator Pin
iayd16-May-08 12:41
iayd16-May-08 12:41 
QuestionDebug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus16-May-08 4:01
panzerdivisionmarkus16-May-08 4:01 
AnswerRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler17-May-08 1:09
Gary R. Wheeler17-May-08 1:09 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus18-May-08 21:35
panzerdivisionmarkus18-May-08 21:35 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler19-May-08 0:12
Gary R. Wheeler19-May-08 0:12 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus19-May-08 23:30
panzerdivisionmarkus19-May-08 23:30 
I tried to do that, I have a vague memory that I've managed to that before, but now the debugger couldn't find any source code, so I had to go to disassembly. Anyway, I managed to figure out that it uses afxCurrentResourceHandle, and when I use it in my code it return null, and thats probably why AfxGetResourceHandle() causes assrt failure.
Isn't AFX_MANAGE_STATE(AfxGetStaticModuleState()) supposed to set me to the right resource?

Do you know how can I get the handle to be a valid handle to my dll?
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler20-May-08 0:07
Gary R. Wheeler20-May-08 0:07 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus20-May-08 0:57
panzerdivisionmarkus20-May-08 0:57 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus20-May-08 1:14
panzerdivisionmarkus20-May-08 1:14 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler20-May-08 11:44
Gary R. Wheeler20-May-08 11:44 
AnswerRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus21-May-08 23:03
panzerdivisionmarkus21-May-08 23:03 
Questionproblem in migrating from VC6 to VC2005 Pin
ptr_Electron16-May-08 3:54
ptr_Electron16-May-08 3:54 
AnswerRe: problem in migrating from VC6 to VC2005 Pin
led mike16-May-08 4:17
led mike16-May-08 4:17 
Questionradiobuttons,vc++ Pin
Mohanraj D16-May-08 3:48
Mohanraj D16-May-08 3:48 
AnswerRe: radiobuttons,vc++ Pin
CPallini16-May-08 3:54
mveCPallini16-May-08 3:54 
AnswerRe: radiobuttons,vc++ Pin
toxcct16-May-08 4:03
toxcct16-May-08 4:03 
AnswerRe: radiobuttons,vc++ Pin
David Crow16-May-08 4:58
David Crow16-May-08 4:58 
GeneralRe: radiobuttons,vc++ Pin
Hamid_RT16-May-08 7:32
Hamid_RT16-May-08 7:32 
GeneralRe: radiobuttons,vc++ Pin
David Crow16-May-08 7:56
David Crow16-May-08 7:56 
GeneralRe: radiobuttons,vc++ Pin
Hamid_RT16-May-08 18:11
Hamid_RT16-May-08 18:11 
AnswerRe: radiobuttons,vc++ Pin
Hamid_RT16-May-08 18:12
Hamid_RT16-May-08 18:12 
GeneralRe: radiobuttons,vc++ Pin
Mohanraj D16-May-08 20:15
Mohanraj D16-May-08 20:15 
GeneralRe: radiobuttons,vc++ Pin
Hamid_RT16-May-08 20:35
Hamid_RT16-May-08 20:35 

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.