link error : Dbaccess::TCustomDAConnection::ApplyUpdates

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Tony49
Posts: 21
Joined: Mon 26 Jan 2009 17:10

link error : Dbaccess::TCustomDAConnection::ApplyUpdates

Post by Tony49 » Thu 17 Sep 2009 14:02

Hello,

Since i updated ODAC (5.80.0.42 to 6.70.0.45) i can't link my c++ project.
My IDE is Borland C++ builder 5.

The message is :

[Lieur Erreur] Unresolved external '__fastcall Dbaccess::TCustomDAConnection::ApplyUpdates(Dbaccess::TCustomDADataSet * const *, const int)'

The problem comes from a class derivating from TOraSession.
This class, that i created in past, compile with ODAC.5

Can you help me please?

Tony49
Posts: 21
Joined: Mon 26 Jan 2009 17:10

Post by Tony49 » Thu 17 Sep 2009 14:36

if i declare in my class (that derive from TOraSession) :

void __fastcall TMyOraSession::ApplyUpdates(TCustomDADataSet* const * DataSets, const int DataSets_Size)
{

}

The project compile.
Why there's this difference between ODAC5 and ODAC6 ?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 21 Sep 2009 08:33

ODAC 5 has only the ApplyUpdates method without parameters.
ODAC 6 has two overloads of the ApplyUpdates method: one without parameters and the other one with the following parameter (in Pascal):

DataSets: array of TCustomDADataSet

Probably this type of parameter cannot be handled correclty in C++Builder. Do you use the overload with parameters in your application?

Tony49
Posts: 21
Joined: Mon 26 Jan 2009 17:10

Post by Tony49 » Mon 21 Sep 2009 15:48

I never call ApplyUpdates method from my application.

Post Reply