Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> VC++ Oracle ODMG Link Error
Hi,
I'm getting a Link error using VC++ with the ODMG Object Api's, I have set the paths to every library in the known universe so that is not the problem.
Here is the VC++ output:
Creating library Release/TPP_CONDUIT.lib and object
Release/TPP_CONDUIT.exp
TPP_CONDUIT.obj : error LNK2001: unresolved external symbol "int
__oml_glue" (?__oml_glue@@3HA)
Release/TPP_CONDUIT.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Here is the related .hpp:
extern int __oml_glue;
// ODMG-93 transaction class
class OML_PUBLIC Transaction {
private:
// internal data
int _Active;
public:
// constructor & destructor
i Transaction(); // doesn't start a transaction
~Transaction(); // roll back transaction if active
// methods
void begin(int g = __oml_glue); // begin a new transaction
void commit(); // commit an active transaction
void abort(); // roll back an active transaction
void checkpoint(); // commit changes but keep locks
};
Received on Thu Jul 22 1999 - 04:40:17 CDT
![]() |
![]() |