Home » Developer & Programmer » Precompilers, OCI & OCCI » OCI Error: LNK1113: invalid machine type (32-bit application, OS: Windows 64bit, Oracle: Oracle11g)
OCI Error: LNK1113: invalid machine type [message #653739] Mon, 18 July 2016 02:08 Go to previous message
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
Read Message
Read Message
Read Message
Previous Topic: Pro*C problem - unable generate .exe file
Next Topic: unable to generate pro*c .exe file on solaris11
Goto Forum:

Current Time: Sun Aug 09 04:29:38 CDT 2020