FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error FWH 2404 unresolved external 'SetWindow Theme'
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 09:07 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 09:11 PM
These are the only BCC libs you need:
Code (fw): Select all Collapse
cw32 +
import32 +
shell32 +
iphlpapi +
wininet +
uxtheme
But you also have to correctly set your bcc32.cfg. At least with this line:
Code (fw): Select all Collapse
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 09:22 PM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 09:24 PM
No, the correct one is this:

bcc32.cfg
Code (fw): Select all Collapse
-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
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Thu Apr 25, 2024 09:40 PM

Enrico

Thanks for the Bcc32.cfg file .. .

Rick Lipkin

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 05:39 PM
Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window
Please add this to your link script:
Code (fw): Select all Collapse
%bcdir%\lib\psdk\uxtheme.lib
Regards



G. N. Rao.

Hyderabad, India
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 06:21 PM

Dear Tim,

uxtheme.lib belongs to the C compiler

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Fri Apr 26, 2024 06:24 PM

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
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Sun Oct 06, 2024 04:26 PM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Sun Oct 06, 2024 06:45 PM

Dear Taavi,

You have to link uxtheme.lib

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: Error FWH 2404 unresolved external 'SetWindow Theme'
Posted: Mon Oct 07, 2024 05:22 PM

Thanks,

working now.

Taavi

Continue the discussion