Link error using "SQLBindFileToCol" with Visual Studio c++.NET
Posted on 2004-03-30
I am using Visual Studio C++ .NET but I was using Visual Age C++ to compile my C++ DB2 programs. When I do statement
"rc = SQLBindFileToCol(hstmt2, 1, FName, &FNLength, &FOption,50, NULL, &FNInd);"
I get error message "MAIS700.obj : error LNK2019: unresolved external symbol _SQLBindFileToCol@32 referenced in function "int __cdecl Query_Request_Data(void)" (?Query_Request_Data@@YAHXZ)"
All of my other SQL calls are good. I include "sqlcli1.h" from the SQL Lib. Does this compiler not support "SQLBindFileToCol" or do I need to include something else????