Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Performance issue with the MFC Toolkit
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Performance issue with the MFC Toolkit

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


Joined: 04 September 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote FrankC Quote  Post ReplyReply Direct Link To This Post Topic: Performance issue with the MFC Toolkit
    Posted: 15 October 2008 at 11:48am

I am using the version 12.0.2 Toolkit Pro C++ MFC on the Visual Studio 6.0 to add the new face to our old application.  Out application links the libraries with the static method.

 

Before the Toolkit Pro, a complete compilation of our application takes about 12 minutes, after adding the new face just to the new toolbars, the compilation takes about 22 minutes, 83% more time is been used.

 

I understand that by using the Tookkit Pro, the compiler has to access more libraries, but 83% more of time seems that there is a room to be improved.

 

Any clues of this performance issue?

 

Thanks,

Frank

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2008 at 6:08pm
Are you using precompiled headers? You should only include XTToolkitPro.h in your StdAfx.h

How often do you get the "automatically linking to..." message?

Codejock support
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: 16 October 2008 at 4:30am

Hi,

Yes, check that you see only one automatically linking to..." message
 
also exclude some modules you don't use:
 
before include toolkit add
 
#define _XTP_EXCLUDE_CALENDAR
#define _XTP_EXCLUDE_SYNTAXEDIT
#define _XTP_EXCLUDE_REPORTCONTROL
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
FrankC View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote FrankC Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2008 at 11:53am
Yes, I moved the include XTToolkitPro.h from the individual files to stdafx.h and getting less "automatically linking to..." messages.
 
Is it supposed to get only one such message when compiling the stdafx.cpp and not from compiling other source code?
 
Thanks,
Frank
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.156 seconds.