Error of reference

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
Loiccloup
Posts: 2
Joined: Mon Jul 02, 2007 3:48 pm

Error of reference

Post 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.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

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


Lars Arvidsson
Loiccloup
Posts: 2
Joined: Mon Jul 02, 2007 3:48 pm

Post 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.
Post Reply