write place of including "XTToolkitPro.rc"??? |
Post Reply |
Author | |
aimslife
Newbie Joined: 19 January 2007 Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 04 April 2007 at 2:55am |
Hi,
i am making SDI application in vs2k5 and i am using CXTListView class for base class of my view class. i was enable sorting in my list view and its working fine in debug mode but application making crashes in release version. my release version contain static linking configuration with Codejok Toolkit, But i was solved this problem by including following lines in my (.rc) file. #if !defined (_AFXDLL) || defined(_XTP_STATICLINK) #include <XTToolkitPro.rc> #endif After placing these lines of code when i try to open view any resource from resource view of an application, my vs stop responding, but when i remove the above lines of code from (.rc) file then my project resource view working perfect... following lines of code shows the placing of above lines of code in (.rc) file. // Microsoft Visual C++ generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "afxres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS #if !defined (_AFXDLL) || defined(_XTP_STATICLINK) #include <XTToolkitPro.rc> #endif ///////////////////////////////////////////////////////////////////////////// // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 #ifdef APSTUDIO_INVOKED Please guide me, what is the right place of writing include "XTToolkitPro.rc" file in (.rc) file or where i include "XTToolkitPro.rc" file in project?? |
|
regards,
-aims . |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Move it to res\xxx.rc2 file.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
aimslife
Newbie Joined: 19 January 2007 Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Thanks Oleg...
|
|
regards,
-aims . |
|
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 |