Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

error LNK2001: unresolved external symbol _CLSID_OraOLEDB

426258Oct 7 2004 — edited Dec 15 2009
hi,
I got above error when compiling my apllication in VC++. I have set the Oracle OLEDB library in
Projects->Projects Settings->Link->Objects/Library modules
and include and library paths are set in Tools->Options->directories...

My function call
hResult = CoCreateInstance(CLSID_OraOLEDB,NULL,
CLSCTX_INPROC_SEVER,IID_IDataInitialize, (void **)&m_pIDataInitialize);

If I used CLSID_MSDAORA instead of CLSID_OraOLEDB same error (unresolved external symbol CLSIDMSDAORA) arises

Please help me,
I am new to this stuff..

Regards
Nilantha.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2010
Added on Oct 7 2004
1 comment
2,870 views