Page 1 of 1
Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 9:07 pm
by Rick Lipkin
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
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 9:11 pm
by Enrico Maria Giordano
These are the only BCC libs you need:
Code: Select all | Expand
cw32 +
import32 +
shell32 +
iphlpapi +
wininet +
uxtheme
But you also have to correctly set your bcc32.cfg. At least with this line:
Code: Select all | Expand
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 9:22 pm
by Rick Lipkin
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
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 9:24 pm
by Enrico Maria Giordano
No, the correct one is this:
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
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 9:40 pm
by Rick Lipkin
Enrico
Thanks for the Bcc32.cfg file .. .
Rick Lipkin
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 5:39 pm
by nageswaragunupudi
Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window
Please add this to your link script:
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 6:21 pm
by Antonio Linares
Dear Tim,
uxtheme.lib belongs to the C compiler
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 6:24 pm
by TimStone
I found it and had removed my post ... builds are now fine.
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Sun Oct 06, 2024 4:26 pm
by Taavi
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.
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Sun Oct 06, 2024 6:45 pm
by Antonio Linares
Dear Taavi,
You have to link uxtheme.lib
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Mon Oct 07, 2024 5:22 pm
by Taavi
Thanks,
working now.
Taavi