TheMillionDollarMan
Programmer
Hi
I am trying to use the IDE to compile so of the OCI examples from Oracle. I can use the batch file to succesfully buuild the exe but when I try to use the IDE I get this error message:
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Here is the code from the batch file:
cl
-IC:\Ora817\\oci\include
-I.
-D_DLL
-D_MT
%1.cpp
/link
/LIBPATH:C:\Ora817\\oci\lib\msvc oci.lib svcrt.lib
/nod:libc
Under Project->Settings->Link->Input Where it says ignore Libraries I have entered in LIBC.lib. If I try and enter in the LIBCD.lib I generate more error messages.
I have also tried understanding the complier option with
I am trying to use the IDE to compile so of the OCI examples from Oracle. I can use the batch file to succesfully buuild the exe but when I try to use the IDE I get this error message:
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Here is the code from the batch file:
cl
-IC:\Ora817\\oci\include
-I.
-D_DLL
-D_MT
%1.cpp
/link
/LIBPATH:C:\Ora817\\oci\lib\msvc oci.lib svcrt.lib
/nod:libc
Under Project->Settings->Link->Input Where it says ignore Libraries I have entered in LIBC.lib. If I try and enter in the LIBCD.lib I generate more error messages.
I have also tried understanding the complier option with