Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPWinThemeWrapper::OpenTheme link error in DLL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPWinThemeWrapper::OpenTheme link error in DLL

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: CXTPWinThemeWrapper::OpenTheme link error in DLL
    Posted: 10 May 2007 at 6:42pm
Hi;
I'm using the toolkit 11.1 in a standard dll using mfc classes (no MFC extension DLL).
When trying to use the CXTPWinThemeWrapper class inside the DLL I get linker errors (unresolved externals) for all functions of the class that implement calls into UxTheme.dll.
On the other hand, functions like ThemeDataOpen() or EnableTheming() are correctly resolved.
 
Using the same class in MFC EXE compile and link without any errors.
 
Any ideas?
 
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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: 11 May 2007 at 1:42am
Hello,
 
CXTPWinThemeWrapper  loads these functions in runtime. It have to be something in your application settings.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2007 at 3:16am
Hi Oleg;
 
I know this. Perhaps I described the problem in a wrong way. Not the uxtheme.dll function could not be resolved, but the functions of the CXTPWinThemeWrapper class that make calls into the UXTheme.dll. So CXTPWinThemeWrapper::OpenThemeData() or CXTPWinThemeWrapper::CloseThemeData() are not resolved by the linker.
 
 
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2007 at 4:16am
Hi;
 
I found it myself! The old 'treat w_char as builtin type' issue...
In any case - thanks for the hint about project settings.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.063 seconds.