Page 1 of 1

Error of reference

Posted: Tue Jul 03, 2007 7:32 am
by Loiccloup
Hello,
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";
This is my error:

Code: Select all

[Link Error] Unresolved external '__fastcall Sheetdata2::FindTextA(System::WideString, bool)' referenced form C:\XLS_TEST\Test01\UNIT.OBJ
PS : Sorry for my engilsh i'm french.

Posted: Tue Jul 03, 2007 11:08 am
by larsa
Hello

There is probably a missing search path to the component. Please add it to your app.


Lars Arvidsson

Posted: Tue Jul 03, 2007 1:53 pm
by Loiccloup
It's ever done, i put all path like :

Code: Select all

C:\Program Files\XLSReadWriteI30\Package\CPP5\

But still always the same error, i try on other computeur but there is always the same error.