Starting with a new PC, Win 7, 64-bit, fresh install of CodeGear RAD Studio XE Pro, and downloaded latest TMS Async 32, I get the following error when compiling program in C++ Builder XE:
[ILINK32 Error] Error: Unresolved external '__fastcall Vacomm::TVaCustomComm::SetDeviceName(const System::AnsiStringT<0>) referenced from...
The offending line is:
void __fastcall TMainForm::ComboBox1Change(TObject *Sender)
{
(void) Sender; //... Quiet compiler warning//... Configure the Serial port
VaComm1->DeviceName = ComboBox1->Text; //... <-- This line generates error
VaComm1->Open();...}
The function to populate the ComboBox is:
void __fastcall TMainForm::ComboBox1DropDown(TObject *Sender)
{
TStringList* tslAvailablePorts = new TStringList();(void) Sender; //... Quiet compiler warning//... Clear the existing List
ComboBox1->Items->Clear();VaComm1->GetComPortNames(tslAvailablePorts);
ComboBox1->Items->AddStrings(tslAvailablePorts);
}
Any help would be appreciated.
Thanks,
Steve