Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Newbie using VC++ and Oracle Ole
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@@YAXXZ)
ole3.obj : error LNK2001: unresolved external symbol "int __cdecl
OStartup(void)" (?OStartup@@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 CDT