Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 10.3.1 problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

10.3.1 problem

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


Joined: 23 August 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote garylyb Quote  Post ReplyReply Direct Link To This Post Topic: 10.3.1 problem
    Posted: 20 September 2006 at 10:56am
Hello -

I just went from 10.3.0 to 10.3.1
 
My main frame is defined as

class CMainFrame : public CXTPMDIFrameWnd, CXTPOffice2007FrameHook

In debug mode, there is no problem, the app loads, and I can switch themes as before, I had to add this to the rc2 file to swith to the 2007 themes:

#include "C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v10.3.1\Source\Ribbon\Styles\Office2007Blue\Office2007Blue.rc"

Now, when I compile in release mode, the app does not get through CMainFrame::OnCreate
 
It aborts on a LoadToolBar command:

if (!pToolBarskin || !pToolBarskin->LoadToolBar(IDR_TOOL_SWITCH))

If I comment out the Office2007Blue.rc include, it aborts immediately, if I leave it in, it takes about 15 seconds before it aborts, in either case, it never completes the loadtoolbar command.

I took out the tool bar that it was aborting on, but then it aborted on a different tool bar. - Release mode only, debug works fine.
Back to Top
garylyb View Drop Down
Newbie
Newbie


Joined: 23 August 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote garylyb Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 11:30am
Well I tried compiling using dll, instead of static.
 
It works in both release and debug as a dll.
 
I deleted all the release and debugs directories, and tried it again as static - it still aborts.
 
I'm out of ideas.
 
Gary
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 20 September 2006 at 1:43pm
Hi,
guess you use old lib from 10.3. try to rebuild all possible files from toolkit pro.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
garylyb View Drop Down
Newbie
Newbie


Joined: 23 August 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote garylyb Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2006 at 3:07pm
I went to re boot, and the computer would not load, the boot partition was wiped out.
 
I ended up re installing Windows and everything else.
 
it finally works.
 
Gary
 
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.045 seconds.