![]() |
Application crashes |
Post Reply ![]() |
Author | |
qdlbp ![]() Newbie ![]() Joined: 06 December 2010 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 06 December 2010 at 10:46am |
Hello. I have 2 MFC Extansion dll's. Ich of it contains 1 dialog (based on CXTResizeDialog). My exe creates those dialogs and try to display them but crashes. Reason?
|
|
![]() |
|
ddlittle ![]() Senior Member ![]() Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
![]() ![]() ![]() ![]() ![]() |
You don't supply very much information, but if I had to guess, I'd guess that your resource handle isn't pointing to the DLL that contains the dialogs. Take a look at AfxSetResourceHandle().
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
I believe the dialog contains a CXTPReportControl.
In the constructor of your dialog add:
m_wndRepot.RegisterWindowClass(AfxGetResourceHandle());
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |