Performance issue with the MFC Toolkit |
Post Reply |
Author | |
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
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 |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
FrankC
Groupie Joined: 04 September 2008 Location: United States Status: Offline Points: 35 |
Post Options
Thanks(0)
|
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
|
|
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 |