Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Strange error about XTP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strange error about XTP

 Post Reply Post Reply
Author
Message
yanlv View Drop Down
Groupie
Groupie


Joined: 23 June 2008
Location: China
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote yanlv Quote  Post ReplyReply Direct Link To This Post Topic: Strange error about XTP
    Posted: 08 September 2008 at 10:23pm
I use XTP11.1.0.
Everything is ok for release version. But when I execute the debug version, I got the unexpected error. The error lies in the following bold line:
CMainFrame::CMainFrame()
{
    // TODO: add member initialization code here
    m_bLicenseError = false;

    // Add by Jimmy 2007-12-07
    m_pTheme = NULL;
    XTPSkinManager()->SetApplyOptions(xtpSkinApplyFrame |xtpSkinApplyColors | xtpSkinApplyMetrics);
    LoadSkin();
}
But when I copy this .exe file into other computer, no error occurs.
Is it a problem of my computer or a problem of XTP?
Thanks.
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: 09 September 2008 at 1:29am
Hi,
 
How this "unexpected error" looks ?
 
Try rebuild toolkit and your application.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
yanlv View Drop Down
Groupie
Groupie


Joined: 23 June 2008
Location: China
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote yanlv Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2008 at 8:36pm
the error is:
abc MFC Application has encountered a problem and needs to close. We are sorry for the inconvenience
I don't understand why this error never occurs in other computers.
thanks.
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: 11 September 2008 at 1:01am
Hi,
Try rebuild whole toolkit and your application. think it wll help.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.062 seconds.