Page 1 of 1

link error : Dbaccess::TCustomDAConnection::ApplyUpdates

Posted: Thu 17 Sep 2009 14:02
by Tony49
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?

Posted: Thu 17 Sep 2009 14:36
by Tony49
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 ?

Posted: Mon 21 Sep 2009 08:33
by Plash
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?

Posted: Mon 21 Sep 2009 15:48
by Tony49
I never call ApplyUpdates method from my application.