|Subject:||Re: TidSNPP unresolved external SendMessage|
|Posted by:||David Perkins (firstname.lastname@example.org)|
|Date:||Mon, 19 Jun 2006|
> Using BCB2006, Update1*, Indy9 as shipped with BDS
> I'd trying to use the TidSNPP component and have:
> IdSNPP1->Host = sHost;
> IdSNPP1->Port = 444;
> IdSNPP1->Connect( 5000 );
> IdSNPP1->SendMessage( edNumber->Text.Trim(), Memo1->Lines->Text );
> Building the program I get:
> [Linker Error] Error: Unresolved external '__fastcall
> Idsnpp::TIdSNPP::SendMessageA(System::AnsiString, System::AnsiString)'
> referenced from C:\DEV\TEST\SNPP\DEBUG\TFRMMAIN.OBJ
> My header includes:
> #include <IdBaseComponent.hpp>
> #include <IdComponent.hpp>
> #include <IdSNPP.hpp>
> #include <IdTCPClient.hpp>
> #include <IdTCPConnection.hpp>
> and the project options point to the BDS Indy9 dir.
> I've looked and looked, but cannot find what is causing this.
I've just tried this with BCBv5 and my old Indy9 components and I still
get the same error. Am I doing something obviously here?
TidSNPP unresolved external SendMessage posted by David Perkins on Mon, 19 Jun 2006