question about Informix CLI on windows
Posted in 2009
I try to compile the cli demo program. It report the following errors. Do
anyone help to look?
I:\\\\csdk35\\\\demo\\\\odbcdemo>nmake -f makefile
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -
D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -Z7 -Od /MD
/D_CRT_SECUR
E_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /D_CRT_NONSTDC_NO_DEPRECATE /I"I
:\\\\csdk35\\\\incl\\\\cli" blkinsrt.c
blkinsrt.c
blkinsrt.c(52) : error C2061: syntax error : identifier 'SQLLEN'
blkinsrt.c(53) : error C2061: syntax error : identifier 'cbOrderNum'
blkinsrt.c(53) : error C2059: syntax error : ';'
blkinsrt.c(54) : error C2061: syntax error : identifier 'cust_num'
blkinsrt.c(54) : error C2059: syntax error : ';'
blkinsrt.c(55) : error C2061: syntax error : identifier 'cbCustNum'
blkinsrt.c(55) : error C2059: syntax error : ';'
blkinsrt.c(56) : error C2061: syntax error : identifier 'item_num'
blkinsrt.c(56) : error C2059: syntax error : ';'
blkinsrt.c(57) : error C2061: syntax error : identifier 'cbItemNum'
blkinsrt.c(57) : error C2059: syntax error : ';'
blkinsrt.c(59) : error C2061: syntax error : identifier 'cbOrderDate'
blkinsrt.c(59) : error C2059: syntax error : ';'
blkinsrt.c(60) : error C2061: syntax error : identifier 'quantity'
blkinsrt.c(60) : error C2059: syntax error : ';'
blkinsrt.c(61) : error C2061: syntax error : identifier 'cbQuantity'
blkinsrt.c(61) : error C2059: syntax error : ';'
blkinsrt.c(62) : error C2059: syntax error : '}'
I have set the following enviroment.
INCLUDE=i:\\\\csdk35\\\\incl;i:\\\\csdk35\\\\incl\\\\cli;i:\\\\csdk35\\\\incl\\\\esql;i:\\\\csdk35\\\\incl\\\\pub
lic;i:\\\\csdk35\\\\incl\\\\dmi;D:\\\\vc\\\\VC98\\\\ATL\\\\INCLUDE;D:\\\\vc\\\\VC98\\\\INCLUDE;D:\\\\vc\\\\VC98\\\\MFC\\\\
INCLUDE;D:\\\\vc\\\\VC98\\\\atl\\\\include;D:\\\\vc\\\\VC98\\\\mfc\\\\include;D:\\\\vc\\\\VC98\\\\include;
INFORMIXDIR=I:\\\\csdk35
INFORMIXSERVER=ol_ids_1150_1LANG=ENUS437
LIB=i:\\\\csdk35\\\\lib;D:\\\\vc\\\\VC98\\\\LIB;D:\\\\vc\\\\VC98\\\\MFC\\\\LIB;D:\\\\vc\\\\VC98\\\\mfc\\\\lib;D:\\\\vc\\\\VC9
8\\\\lib
The CSDK version is 3.50TC3.
Any help will be appropriated.