I try the lib with Builder C++ 5.5. I want use "FindText" but when i use it the complitator say there is an error of linking whit the fonction '__fastcall Sheetdata2::FindTextA(...)' but i dont use it.
Cold you help me please.
Loic
This is my code:
Code: Select all
int Row, Col, TextPos;
bool test=false;
WideString TextFind;
XLS->Sheets->Items[0]->AsWideString[0][0] = "test";
XLS->Sheets->Items[0]->AsWideString[1][1] = "test11";
XLS->Sheets->Items[0]->BeginFindText();
test=XLS->Sheets->Items[0]->FindText("test",true);
XLS->Sheets->Items[0]->GetFindData(Row,Col,TextPos,TextFind);
XLS->Sheets->Items[0]->AsWideString[Row][Col] = "Remplace";
Code: Select all
[Link Error] Unresolved external '__fastcall Sheetdata2::FindTextA(System::WideString, bool)' referenced form C:\XLS_TEST\Test01\UNIT.OBJ