FindTextA() problem

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
Heinz
Posts: 1
Joined: Mon Aug 22, 2011 8:32 pm

FindTextA() problem

Post by Heinz »

Hi,

My configuration is this: (OS: Windows XP, Compiler: Borland C++ Builder 6.0)

When I attempt to find text using XLSReadWrite, I keep getting an UnresolvedExternal linker error.

This is what I have, and in both cases, I keep getting compiler errors.

TXLSReadWriteII4 *xls;
xls->Filename = "C:/myfile.xls";
xls->Read();
xls->BeginFindText();
xls->FindTextA("this", true);

I keep getting a linker error:
Unresolved external '__fastcall Sheetdata4::TSheet::FindTextA(System::WideString, bool)'
OR
Unresolved external '__fastcall Xlsreadwriteii4::TXLSReadWriteII4::FindTextA(System::WideString, bool)'

If I change FindTextA to FindText (I still have this problem).

Using the Borland C++ Compilers "Code Completion", it only shows FindTextA as a method.

Manually searching through the SRC code, all the *.hpp files reference FindText. I can't find a FindTextA method anywhere.
Is there a disjoint between how the method was registered, to what it actually should be in the hpp files?

Any help would be much appreciated!

Thanks,
Heinz
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: FindTextA() problem

Post by larsa »

Hello

There is no FindTextA method in the component. The name is FindText.
Lars Arvidsson, Axolot Data
Post Reply