Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> VC++ Oracle ODMG Link Error

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@dninevada.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US