Hi
I am trying to connect to oracle lite using eVC++, my code complies successfully but, i have linker errors.

I linked "olod2040.lib" File.

My current Project settings are:-
project -> settings-> Link(TAB)
object/libraries = olod2040.lib

Project Options =
olod2040.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /incremental:yes /pdb:"emulatorDbg/sample.pdb" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /out:"emulatorDbg/sample.exe " /subsystem:$(CESubsystem) /MACHINE:IX86

The following is the Generated error message:

Linking...
Creating library emulatorDbg/sample.lib and object emulatorDbg/sample.exp
dbaccess.obj : error LNK2019: unresolved external symbol _SQLExecDirectW referenced in function "public: virtual __thiscall CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAE@XZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLFreeStmt referenced in function "public: virtual __thiscall CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAE@XZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLGetData referenced in function "public: class CRowObj const * __thiscall CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAEPBVCRowObj@@H@Z)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLFetch referenced in function "public: class CRowObj const * __thiscall CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAEPBVCRowObj@@H@Z)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLFreeEnv referenced in function "public: void __thiscall COLiteDB:isconnect(void)" (?Disconnect@COLiteDB@@QAEXXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLFreeConnect referenced in function "public: void __thiscall COLiteDB:isconnect(void)" (?Disconnect@COLiteDB@@QAEXXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLDisconnect referenced in function "public: void __thiscall COLiteDB:isconnect(void)" (?Disconnect@COLiteDB@@QAEXXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLConnectW referenced in function "public: int __thiscall COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAEHXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLAllocConnect referenced in function "public: int __thiscall COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAEHXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLAllocEnv referenced in function "public: int __thiscall COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAEHXZ)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLErrorW referenced in function "public: class CSQLResult * __thiscall COLiteDB::Execute(unsigned short const *)" (?Execute@COLiteDB@@QAEPAVCSQLResult@@PBG@Z)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLDescribeColW referenced in function "public: class CSQLResult * __thiscall COLiteDB::Execute(unsigned short const *)" (?Execute@COLiteDB@@QAEPAVCSQLResult@@PBG@Z)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLNumResultCols referenced in function "public: class CSQLResult * __thiscall COLiteDB::Execute(unsigned short const *)" (?Execute@COLiteDB@@QAEPAVCSQLResult@@PBG@Z)
dbaccess.obj : error LNK2019: unresolved external symbol _SQLAllocStmt referenced in function "public: class CSQLResult * __thiscall COLiteDB::Execute(unsigned short const *)" (?Execute@COLiteDB@@QAEPAVCSQLResult@@PBG@Z)
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
emulatorDbg/sample.exe : fatal error LNK1120: 15 unresolved externals
Error executing link.exe.

Thanx in advance.