![]() |
cDialog.Create crash applicaiton |
Post Reply ![]() |
Author | |
liqiangkang ![]() Newbie ![]() Joined: 10 April 2009 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Do you have something special on this dialog like RichText edit / or some not standard control ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
liqiangkang ![]() Newbie ![]() Joined: 10 April 2009 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thanks. Just some XTP controls on this dialog, xtpcommandbar, xtpreportcontrol, etc.
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
CYourDialog::CYourDialog() ...
{
HINSTANCE hRCthisDLL = AfxFindResourceHandle(MAKEINTRESOURCE(IDD), RT_DIALOG);
m_wndReport.RegisterWindowClass(hRCthisDLL); }
![]() |
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
liqiangkang ![]() Newbie ![]() Joined: 10 April 2009 Location: United States Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Yes, that is it! Thank you very much!!
|
|
![]() |
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 |