Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - cDialog.Create crash applicaiton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

cDialog.Create crash applicaiton

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


Joined: 10 April 2009
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote liqiangkang Quote  Post ReplyReply Direct Link To This Post Topic: cDialog.Create crash applicaiton
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
liqiangkang View Drop Down
Newbie
Newbie


Joined: 10 April 2009
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote liqiangkang Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2009 at 3:59pm
Thanks. Just some XTP controls on this dialog, xtpcommandbar, xtpreportcontrol, etc.
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: 22 April 2009 at 12:02pm
CYourDialog::CYourDialog() ...
{
    HINSTANCE hRCthisDLL = AfxFindResourceHandle(MAKEINTRESOURCE(IDD), RT_DIALOG);
    m_wndReport.RegisterWindowClass(hRCthisDLL);
}
 
PokerMemento - http://www.pokermemento.com/
Back to Top
liqiangkang View Drop Down
Newbie
Newbie


Joined: 10 April 2009
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote liqiangkang Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2009 at 1:40pm
Yes, that is it! Thank you very much!!
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.047 seconds.