Linker problems with cbuilder

Hello,

when I try do build a VCL-Program with Embarcadero C++Builder in that I want to use a TROIndyHTTPServer I get an Error

[ilink32 Warnung] Warning: Fehler gefunden (LIB266)

When I then disable runtime-packages I get the following Error (unresolved external):

[ilink32 Fehler] Error: Nicht auflösbares externes ‘__fastcall Idcustomhttpserver::TIdCustomHTTPServer::TIdCustomHTTPServer(System::Classes::TComponent *)’ referenziert von C:\RAD_KOMPONENTEN_10_2\REMOBJECTS SOFTWARE\REMOBJECTS SDK FOR DELPHI\DCU\D25\WIN32\REMOBJECTS_SERVER_INDY_D25.LIB|uROIndyHTTPServer

When I do the same with TROIndyTCPServer instead it works by disabeling runtime-packages.

When I use the components in Delphi everything works fine.

How can I use TROIndyHTTPServer in C+±Builder ?

Regads

Josef

Hi,

this is known and logged as Log in - Embarcadero Technologies

I can’t reproduce this case.
I’ve attached a small testcase 17742.zip (64.4 KB)

can you compare uROIndyHTTPServer.hpp too, pls? uROIndyHTTPServer.hpp (3.9 KB)

I replaced uROIndyHTTPServer,hpp with your version but the error is still there.

I now installed Version 9.2.103.1311 of Remoting SDK and it works as long as I compile it with runtime-packages.

Without runtime-packages I have the same error:

[ilink32 Fehler] Error: Nicht auflösbares externes ‘__fastcall Idcustomhttpserver::TIdCustomHTTPServer::TIdCustomHTTPServer(System::Classes::TComponent *)’ referenziert von C:\RAD_KOMPONENTEN_10_2\REMOBJECTS SOFTWARE\REMOBJECTS SDK FOR DELPHI\DCU\D25\WIN32\REMOBJECTS_SERVER_INDY_D25.LIB|uROIndyHTTPServer

what ROD version you have tried initially? 9.4?

yes it was 9.4

hmm, I can’t reproduce it in clean environment with C++Builder 10.2.3 and 9.4.109.1377 w/o run-time packages: