Error FWH 2404 unresolved external 'SetWindow Theme'
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Error FWH 2404 unresolved external 'SetWindow Theme'
Antonio
For now I have put uuid.lib in the default folder where have all my .prgs and I got my first compile and the link error was
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @ContW32.bcl
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window
Error: Unable to perform link
Still need a better solution for xMate to find UUID.lib ..
Thanks
Rick Lipkin
For now I have put uuid.lib in the default folder where have all my .prgs and I got my first compile and the link error was
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @ContW32.bcl
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window
Error: Unable to perform link
Still need a better solution for xMate to find UUID.lib ..
Thanks
Rick Lipkin
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
These are the only BCC libs you need:
But you also have to correctly set your bcc32.cfg. At least with this line:
Code: Select all | Expand
cw32 +
import32 +
shell32 +
iphlpapi +
wininet +
uxtheme
Code: Select all | Expand
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Enrico
This is the default BCC32.cfg
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
My bcc74 is quite different .. is it worth editing the folder name and use this Borland.cfg ??
-I"c:\borland\bcc74\include";"c:\borland\bcc74\include\dinkumware64";"c:\borland\bcc74\include\windows\crtl";"c:\borland\bcc74\include\windows\rtl";"c:\borland\bcc74\include\windows\vcl";"c:\borland\bcc74\\include\windows\sdk"
-I"c:\borland\bcc74\include\windows";"c:\borland\bcc74\include\windows\vcl";"c:\borland\bcc74\include\windows\rtl";"c:\borland\bcc74\include\windows\sdk";"c:\borland\bcc74\include\dinkumware64";"c:\borland\bcc74\include\windows\crtl"
-L"c:\borland\bcc74\lib\win32c\release";"c:\borland\bcc74\lib\win32c\release\psdk"
Thanks
Rick Lipkin
This is the default BCC32.cfg
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
My bcc74 is quite different .. is it worth editing the folder name and use this Borland.cfg ??
-I"c:\borland\bcc74\include";"c:\borland\bcc74\include\dinkumware64";"c:\borland\bcc74\include\windows\crtl";"c:\borland\bcc74\include\windows\rtl";"c:\borland\bcc74\include\windows\vcl";"c:\borland\bcc74\\include\windows\sdk"
-I"c:\borland\bcc74\include\windows";"c:\borland\bcc74\include\windows\vcl";"c:\borland\bcc74\include\windows\rtl";"c:\borland\bcc74\include\windows\sdk";"c:\borland\bcc74\include\dinkumware64";"c:\borland\bcc74\include\windows\crtl"
-L"c:\borland\bcc74\lib\win32c\release";"c:\borland\bcc74\lib\win32c\release\psdk"
Thanks
Rick Lipkin
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
No, the correct one is this:
bcc32.cfg
bcc32.cfg
Code: Select all | Expand
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
-w-inl
-w-pro
- Rick Lipkin
- Posts: 2668
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Enrico
Thanks for the Bcc32.cfg file .. .
Rick Lipkin
Thanks for the Bcc32.cfg file .. .
Rick Lipkin
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Please add this to your link script:Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window
Code: Select all | Expand
%bcdir%\lib\psdk\uxtheme.lib
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Dear Tim,
uxtheme.lib belongs to the C compiler
uxtheme.lib belongs to the C compiler
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
I found it and had removed my post ... builds are now fine.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
HEllo,
how to fix this error for xHarbour builder (FWH202409)?
xLINK: error: Unresolved external symbol '__imp__SetWindowTheme referenced from FiveHMX.lib(window.obj)'.
xLINK: fatal error: 1 unresolved external(s).
Taavi.
how to fix this error for xHarbour builder (FWH202409)?
xLINK: error: Unresolved external symbol '__imp__SetWindowTheme referenced from FiveHMX.lib(window.obj)'.
xLINK: fatal error: 1 unresolved external(s).
Taavi.
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Dear Taavi,
You have to link uxtheme.lib
You have to link uxtheme.lib
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Thanks,
working now.
Taavi
working now.
Taavi