[freetds] freetds and windows

Brett generica at email.com
Fri Apr 8 23:57:28 EDT 2005


Hey,

Once more, I've hit problems.

Using dblib, I got the client program working perfectly.  It could talk to 
the ms sql server, get the results back, and work as I'd hoped.

The next plan was to compile it under windows, which I thought would be 
straightforward.  We already had the system compiling under windows, with 
faked calls for the sql stuff, so it was just a case of using the freetds 
code, and linking it in with the windows libraries.

I went into the win32 directory, used msvc to load the projects, and 
compiled dblib.lib and libTDS.lib ... compiled and linked those into our 
software ( also had to link shell32.lib, due to some unresolved symbols )

Went to run it, and with the aid of printfs, found that it initialised the 
library fine, but at the following call, it just terminates

erc = dbsqlsend(dbproc);

and grepping through the win32 directory, I see no occurrance of this 
function.

Can anyone please give me some assistance.  This is rather urgent, and 
very frustrating

thanks,

 	/ Brett




More information about the FreeTDS mailing list