Hi,
I am new to DB2 database programming. I am using a test DB2 database that I created and testing the runGseDemo Files given in the "C:\Program Files\IBM\SQLLIB\samples\spatial" folder. I have included runGseDemo.c, samputil.c, samputil.h, and the lib files db2api.lib, db2apie.lib, db2cli.lib in the "C:\Program Files\IBM\SQLLIB\lib" folder. There is an error while executing the statement,
rc = SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);
rc returns SQL_Error. I am using Visual Studio 6.0 and I have also given the direct path for the include files in the folder "C:\Program Files\IBM\SQLLIB\include". Can u please give me a pointer as to why I am getting this error.
-Thanks
-Kangan