Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Application crashes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Application crashes

 Post Reply Post Reply
Author
Message
qdlbp View Drop Down
Newbie
Newbie


Joined: 06 December 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote qdlbp Quote  Post ReplyReply Direct Link To This Post Topic: Application crashes
    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?
Back to Top
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2010 at 12:04pm
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(). 
 
 
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 08 December 2010 at 10:48am
I believe the dialog contains a CXTPReportControl.
 
In the constructor of your dialog add:
m_wndRepot.RegisterWindowClass(AfxGetResourceHandle());
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.066 seconds.