VC++ Oracle ODMG Link Error

From: Denis Cote <coted_at_dninevada.com>
Date: Thu, 22 Jul 1999 10:40:17 +0100
Message-ID: <3796E701.F1811978_at_dninevada.com>



Hi,

[Quoted]     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
[Quoted] TPP_CONDUIT.obj : error LNK2001: unresolved external symbol "int __oml_glue" (?__oml_glue_at__at_3HA)
Release/TPP_CONDUIT.dll : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

Here is the related .hpp:

[Quoted] 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 - 11:40:17 CEST

Original text of this message