![]() |
CXTPWinThemeWrapper::OpenTheme link error in DLL |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPWinThemeWrapper::OpenTheme link error in DLLPosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |