Print Page | Close Window

cDialog.Create crash applicaiton

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=14014
Printed Date: 22 June 2025 at 2:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: cDialog.Create crash applicaiton
Posted By: liqiangkang
Subject: cDialog.Create crash applicaiton
Date Posted: 14 April 2009 at 4:34pm
Hi,
         Struggling for days couldn't figure out why. I am working on localization MFC project using resource-only dlls. I have a MyDialog class extends XTPDialog, when I use localized resource-only dlls, the call MyDialog.Create() will crash applicaiton, if remove the resource-only-dlls, it just work fine.
Did anyone have this kind of problem before?
 
Thanks in advance!
Jon



Replies:
Posted By: Oleg
Date Posted: 15 April 2009 at 1:48am
Hi,
 
Do you have something special on this dialog like RichText edit / or some not standard control ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: liqiangkang
Date Posted: 21 April 2009 at 3:59pm
Thanks. Just some XTP controls on this dialog, xtpcommandbar, xtpreportcontrol, etc.


Posted By: znakeeye
Date Posted: 22 April 2009 at 12:02pm
CYourDialog::CYourDialog() ...
{
    HINSTANCE hRCthisDLL = AfxFindResourceHandle(MAKEINTRESOURCE(IDD), RT_DIALOG);
    m_wndReport.RegisterWindowClass(hRCthisDLL);
}
 


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: liqiangkang
Date Posted: 01 May 2009 at 1:40pm
Yes, that is it! Thank you very much!!



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