my env:
oracle 12.2 client 32bits
vs ultimate 2012 update 5, with .net framework 4.5 installed
Can anybody help me on this? I cannot get over it these days.
my code has these two includes:
#include "sqlcpr.h"
#include "socket/netfunc.h"
while compiling, I got errors:
error C2632: 'char' followed by 'int' is illegal
error C2371: 'BOOLEAN' : redefinition; defferent basic types
For the first one error, I traced the include files, as below:
--> sqlcpr.h
--> --> oratypes.h
--> --> --> #define boolean int // here boolean is defined as int
--> socket/netfunc.h
--> --> winsock2.h
--> --> --> windows.h
--> --> --> --> rpc.h
--> --> --> --> --> ...
--> --> --> --> --> --> rpcndr.h
--> --> --> --> --> --> --> typedef unsigned char boolean; // here compiler think an 'int' following 'char' and give me error