TScIdIOHandler link errors

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
roddyp
Posts: 6
Joined: Wed 15 Oct 2014 08:28

TScIdIOHandler link errors

Post by roddyp » Tue 01 Sep 2015 21:44

I'm getting these errors while using SecureBridge demo with C++Builder 2010, using TScIdIOHandler. I use Indy 10, but it's been upgraded to 10.6.0.0

Code: Select all

[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::PerformCapture(System::TObject *, int&, const System::UnicodeString, bool, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::Write(const System::UnicodeString, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::WriteLn(const System::UnicodeString, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::WriteLnRFC(const System::UnicodeString, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::Write(Classes::TStrings *, bool, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::AllData(Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::InputLn(const System::UnicodeString, bool, int, int, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::ReadLn(System::UnicodeString, int, int, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
[ILINK32 Error] Error: Unresolved external '__fastcall Idiohandler::TIdIOHandler::ReadLnWait(int, Sysutils::TEncoding *)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\7.0\LIB\INDY10SBRIDGE140.LIB|ScIndy
I guess I need a different version of TScIdIOHandler - how to get and install?

roddyp
Posts: 6
Joined: Wed 15 Oct 2014 08:28

Re: TScIdIOHandler link errors

Post by roddyp » Thu 03 Sep 2015 08:41

Resolved: The source for SCIndy.pas is provided (but well hidden) in the "Demos/Indy10" directory. I was able to recompile this for my particular Indy version, and link with that.

Based on previous experience, I wasn't expecting to find source code for anything included with the trial version.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TScIdIOHandler link errors

Post by ViktorV » Thu 03 Sep 2015 09:21

To solve the issue, please try to follow the steps:
- remove indy10sbridge140 package;
- create and install a new package for C++ Builder.
You can create a new package on your own by choosing Package from the File -> New menu. Add the ScIndy and ScIndyReg units to this project via the Project->Add to Project->Add Unit menu. Also add the following packages to the project (via Project->Add to Project->Requires menu): sbridge140.bpi, IndyCore140.bpi. After this compile and install the package.

Post Reply