Print Page | Close Window

problem with visual c++ 2008

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=11829
Printed Date: 23 November 2024 at 12:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: problem with visual c++ 2008
Posted By: ahmad_elhoni
Subject: problem with visual c++ 2008
Date Posted: 14 August 2008 at 12:35pm

Hi there,

I have build a simple GUI application using qt\windows 4.4 , the application style is the default xp . I want to change the style to windows vista . Is that possible with xtreme toolkit 12 for visual c++ 2008 .

 

Does the XTPSkinManager()->LoadSkin support Qt classes like Qwidget .

 

Second ,

 

I have create using xtreme toolkit application wizard a gui application but failed to run the program using XTPSkinManager()->LoadSkin

 

I got this error :

 

"This application has failed to start because ToolkitPro1201vc90UD.dll was not found . Re-installing the application may fix this problem ."

 

Note that when I remove XTPSkinManager()->LoadSkin the program runs fine .

 

 

I really don't know what is the problem?

 

Regards,

 

Ahmad




Replies:
Posted By: Oleg
Date Posted: 14 August 2008 at 1:59pm
Hello,
 
Compile Debug version - not Unicode debug. Think you didn't download Unicode version of evaluation dll.  If will not help, just copy dll from our bin folder to your Debug folder.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ahmad_elhoni
Date Posted: 14 August 2008 at 2:16pm
I did what you told me to do but I got this error :
 
"An unhandled win32 exception occurred in testx.exe [3724] "
 
Second what about the Qt/windows issue ?
 
 
 
 


Posted By: ABuenger
Date Posted: 14 August 2008 at 2:49pm
Originally posted by ahmad_elhoni ahmad_elhoni wrote:

Does the XTPSkinManager()->LoadSkin support Qt classes like Qwidget .



I doubt this as Qt paints a lot itself. I think only the common controls will be skinned. But I'm curious to see this as well, could you please post a screenshot?



-------------
Codejock support


Posted By: ahmad_elhoni
Date Posted: 15 August 2008 at 3:29am
First  I did the following :
 

int main(int argc, char *argv[])

{

QApplication a(argc, argv);

XTPSkinManager()->LoadSkin(_T("Vista.cjstyles"));

msvc3 w;

w.show();

return a.exec();

}

 

but I received the following link error :

main.obj : error LNK2019: unresolved external symbol "public: int __thiscall CXTPSkinManager::LoadSkin(unsigned short const *,unsigned short const *)" (?LoadSkin@CXTPSkinManager@@QAEHPBG0@Z) referenced in function _main

Second how the common controls will be skinned ?
 
is there a way to convert qt classes to mfc classes .
 
 
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net