Debug vs Realese
-
hi, When I am trying to run the my dll and program use it in release mode it crashs on these lines:
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL);
in AFXWIN1.inl header What can be the cause for that ? It functions perfectly in debug mode. Thanks, :confused: Ohad -
hi, When I am trying to run the my dll and program use it in release mode it crashs on these lines:
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL);
in AFXWIN1.inl header What can be the cause for that ? It functions perfectly in debug mode. Thanks, :confused: Ohad -
hi, When I am trying to run the my dll and program use it in release mode it crashs on these lines:
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL);
in AFXWIN1.inl header What can be the cause for that ? It functions perfectly in debug mode. Thanks, :confused: Ohad -
This is what I am doing.....
-
hi, When I am trying to run the my dll and program use it in release mode it crashs on these lines:
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL);
in AFXWIN1.inl header What can be the cause for that ? It functions perfectly in debug mode. Thanks, :confused: OhadNot sure though. I face registration problem in one of my
COM
dlls in release mode. I found that.rc
was excluded accidenlty inrelease
configuration. See, if simlar thing is happening to you. In addition I recommend you to go through this[^] article.Prasad Notifier using ATL | Operator new[],delete[][^]
-
Not sure though. I face registration problem in one of my
COM
dlls in release mode. I found that.rc
was excluded accidenlty inrelease
configuration. See, if simlar thing is happening to you. In addition I recommend you to go through this[^] article.Prasad Notifier using ATL | Operator new[],delete[][^]
I have only one .rc, he create two diffrent files for debug and release (.res).
-
hi, When I am trying to run the my dll and program use it in release mode it crashs on these lines:
_AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL);
in AFXWIN1.inl header What can be the cause for that ? It functions perfectly in debug mode. Thanks, :confused: OhadOhad Cabiri wrote:
When I am trying to run the my dll and program use it in release mode it crashs on these lines: _AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL); in AFXWIN1.inl header
How... how you debugged a released mode dll
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
-
Not sure though. I face registration problem in one of my
COM
dlls in release mode. I found that.rc
was excluded accidenlty inrelease
configuration. See, if simlar thing is happening to you. In addition I recommend you to go through this[^] article.Prasad Notifier using ATL | Operator new[],delete[][^]
prasad_som wrote:
In addition I recommend you to go through this[^] article.
hi, Happy new year.. i am afraid, this article is no use here!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
-
prasad_som wrote:
In addition I recommend you to go through this[^] article.
hi, Happy new year.. i am afraid, this article is no use here!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
ThatsAlok wrote:
Happy new year
Thanks. Same to you.
ThatsAlok wrote:
i am afraid, this article is no use here!
Atleast, should get idea, what problem may occurs in release, but not in debug build.
Prasad Notifier using ATL | Operator new[],delete[][^]
-
Ohad Cabiri wrote:
When I am trying to run the my dll and program use it in release mode it crashs on these lines: _AFXWIN_INLINE HINSTANCE AFXAPI AfxGetResourceHandle() { ASSERT(afxCurrentResourceHandle != NULL); in AFXWIN1.inl header
How... how you debugged a released mode dll
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
ThatsAlok wrote:
How... how you debugged a released mode dll
Possibly , using this[^] technique.
Prasad Notifier using ATL | Operator new[],delete[][^]