Newbie using VC++ and Oracle Ole

From: Brian Motzer <bmotzer_at_spacestar.com>
Date: 1997/08/24
Message-ID: <3401008F.F9273065_at_spacestar.com>#1/1


I am a newbie to both C++ and Oracles objects for Ole. I am using MS VC++ version 5.0 and cannot get even the most simple program to
link. Here is the program.

#include <oracl.h>

void main()
{
 OStartup();
 OShutdown();
}

It compiles fine but when it goes to link I get the following: Linking...

   Creating library Debug/ole3.lib and object Debug/ole3.exp ole3.obj : error LNK2001: unresolved external symbol "void __cdecl OShutdown(void)" (?OShutdown_at__at_YAXXZ)
ole3.obj : error LNK2001: unresolved external symbol "int __cdecl OStartup(void)" (?OStartup_at__at_YAHXZ)
ole3.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall OOracleCollection::Cleanup(void)" ole3.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall OOracleObject::Copy(class ole3.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall OOracleObject::IsOpen(void)const " ole3.obj : error LNK2001: unresolved external symbol "public: __thiscall OOracleCollection::OOracleCollection(void)" ole3.obj : error LNK2001: unresolved external symbol "public: __thiscall OOracleCollection::OOracleCollection(class ole3.obj : error LNK2001: unresolved external symbol "public: class OOracleCollection & __thiscall
ole3.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall

Debug/ole3.exe : fatal error LNK1120: 9 unresolved externals

Error executing link.exe.

ole3.exe - 10 error(s), 0 warning(s)

Cannot someone point me in the right direction here?

Thanks in advance
Brian Motzer
bmotzer_at_spacestar.com Received on Sun Aug 24 1997 - 00:00:00 CEST

Original text of this message