Error FWH 2404 unresolved external 'SetWindow Theme'

Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Rick Lipkin » Thu Apr 25, 2024 9: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
User avatar
Rick Lipkin
 
Posts: 2629
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Enrico Maria Giordano » Thu Apr 25, 2024 9:11 pm

These are the only BCC libs you need:

Code: Select all  Expand view
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 view
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
User avatar
Enrico Maria Giordano
 
Posts: 8334
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Rick Lipkin » Thu Apr 25, 2024 9: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
User avatar
Rick Lipkin
 
Posts: 2629
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Enrico Maria Giordano » Thu Apr 25, 2024 9:24 pm

No, the correct one is this:

bcc32.cfg

Code: Select all  Expand view
-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
User avatar
Enrico Maria Giordano
 
Posts: 8334
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Rick Lipkin » Thu Apr 25, 2024 9:40 pm

Enrico

Thanks for the Bcc32.cfg file .. .

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2629
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby nageswaragunupudi » Fri Apr 26, 2024 5:39 pm

Error: Unresolved external 'SetWindowTheme' referenced from C:\FWH2404\LIB\FIVEHX.LIB|window


Please add this to your link script:
Code: Select all  Expand view
%bcdir%\lib\psdk\uxtheme.lib
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10254
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby Antonio Linares » Fri Apr 26, 2024 6:21 pm

Dear Tim,

uxtheme.lib belongs to the C compiler
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41325
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error FWH 2404 unresolved external 'SetWindow Theme'

Postby TimStone » Fri Apr 26, 2024 6: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 16 guests