Precompilers and OCI (MOSC)

MOSC Banner

Problem compiling a x64 application (with OCI.DLL)

edited Feb 19, 2015 10:37AM in Precompilers and OCI (MOSC) 2 commentsAnswered

I have a little helper program that uses OCI.DLL, was compiled under Visual Studio 2008 as a Win32 application.

Now I'm in need of using the program on Windows Server 2012 x64 and Oracle 11.2.0.4.0 x64.

The Win32 app crashes when it uses the 64bit OCI.DLL that's on the server. When I put the 32bit OCI.DLL into the

directory where the binary resides, I cannot connect to the database for whatever reason.

So I decided to compile the application again as x64 bit app. But now I'm getting a bunch of undefineds:

Error    145    error LNK2019: unresolved external symbol OCIErrorGet referenced in function check_err    c:\ddl\dbora.obj    1    ddl

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center