Ok - there shouldn't be any problem building the project from the IDE. First, go to Project->Settings and click on the Link tab. In the Object/Library modules text field add to the end of the list: oci.lib msvcrt.lib (separated by a space only), then go to Tools->Options and select the Directories tab, for the Include Files window insert or browse to the Ora817\oci\include directory. Then select Library Files from the dropdown list in the Show directories for: Then add C:\Ora817\oci\lib\msv to the directories' list. After that it should compile. However, looking at your batch file I think you will get a warning about LIBC.lib if that is the case you can ignore the MS Compiler LIBC.lib by returning to the Project->Settings dialog, select Input from the Category dropdown and in the Ignore Libraries text field type LIBC.lib.
HTH,
JC