Print Page | Close Window

Application crashes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17642
Printed Date: 19 June 2025 at 9:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Application crashes
Posted By: qdlbp
Subject: Application crashes
Date 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?



Replies:
Posted By: ddlittle
Date 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(). 
 
 


Posted By: znakeeye
Date 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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net