OCI Error: LNK1113: invalid machine type [message #653739] |
Mon, 18 July 2016 02:08 |
|
ssk129
Messages: 1 Registered: July 2016 Location: Pune
|
Junior Member |
|
|
I'm new in oracle and using OCI apis to connect the oracle database. I have installed instant client for the same and all oracle server-client configuration setup is ready.
I have written a sample C application (win32 console application) to test the oci apis. Set following parameters in the project settings,
include path: $(ORACLE_HOME)\oci\include
library linker path: $(ORACLE_HOME)\oci\lib\msvc
library: oci.lib
While building an application it is giving a linker error,
\oci\lib\msvc\oci.lib : fatal error LNK1113: invalid machine type
Machine: 64-bit
Application: 32-bit
Editor: Visual Studio C++ 6.0
Oracle Version: Oracle11g
|
|
|
|
|