Page 1 of 1

FWH LINKING ERROR

Posted: Sun Aug 04, 2024 5:23 am
by shrifw
Dear Antonio ,

I complied my app using the FWH 24.04 and BCC 7.7 32bits. But not able to generate executable file as linking error occurred as show below.

Code: Select all | Expand

Application
===========
G:\vimcosoft\V9ACC\OBJ\util_wgui.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\util_win.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\v9.c:
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
G:\vimcosoft\V9ACC\OBJ\vfa_compgate.c:
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'SetWindowTheme' referenced from G:\VIMCOSOFT\DEV32\FWH_APR24\LIB\FIVEH.LIB|window
Error: Unable to perform link
'G:\vimcosoft\V9ACC\v9acc' is not recognized as an internal or external command,
operable program or batch file.

 

Re: FWH LINKING ERROR

Posted: Sun Aug 04, 2024 7:31 am
by Enrico Maria Giordano
shrifw wrote:

Code: Select all | Expand

Warning W8123: Path 'G:\vimcosoft\DEV32\BCC77032\include\windows\rtl' not found - path ignored in option '-I'
That include path doesn't exist. Please check your configuration file (bcc32.cfg). Use this:

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: FWH LINKING ERROR

Posted: Sun Aug 04, 2024 8:04 am
by alerchster
You have to link uxtheme.lib

Re: FWH LINKING ERROR

Posted: Sun Aug 04, 2024 8:08 am
by Enrico Maria Giordano
Right, for this error:

Code: Select all | Expand

Error: Unresolved external 'SetWindowTheme' referenced from G:\VIMCOSOFT\DEV32\FWH_APR24\LIB\FIVEH.LIB|window

Re: FWH LINKING ERROR

Posted: Sun Aug 04, 2024 8:16 am
by shrifw
Hi Anton Lerchster ,

Now its working..! Thanks a lot..!


Hi Enrico,

The windows\rtl INCLUDE folder is for old BCC now I am using new BCC 7.7 which does not have windows\rtl folder.





Thanks
Shridhar

Re: FWH LINKING ERROR

Posted: Sun Aug 04, 2024 8:20 am
by Enrico Maria Giordano
shrifw wrote:Hi Enrico,

The windows\rtl INCLUDE folder is for old BCC now I am using new BCC 7.7 which does not have windows\rtl folder.
If you use the bcc32.cfg I wrote above, you will not have any problems now and in the future with include paths.