As mentioned off list, I will test out sqlite. At the current time, I still haven't gotten the freetds driver to work. I have been able to successfully compile the driver by doing the following:
- Changed call of bzero() function to ZeroMemory - Uncommented calls of fprintf in dbd_connect() function. However, as I understand it, FreeTDS will not connect to SQL Server 2005 Express (the version I have). Anyone have SQL Server 2000 and could test it out? Thanks, Duncan On 7/16/07, Markus Hoenicka <[EMAIL PROTECTED]> wrote: > Hi Duncan, > > Duncan McQueen writes: > > #ifdef __MINGW32__ > > #include <winsock.h> > > #endif > > > > However, could a similar change be committed to the code? This will > > allow the MinGW platform to compile this driver. > > > > I've committed the fix you suggested. It can't do any harm on other > systems, so if that's all it takes to make the driver work on MinGW > we're all done. > > I wasn't quite sure where to put the above lines though. According to > your compiler log the file must be included before mysql.h, but does > winsock.h itself have any dependencies? I've put the conditional in > front of all includes, hoping that there are no such > dependencies. Could you please check the version from the CVS > repository to make sure it works? > > BTW I recall you compiled the PostgreSQL driver without a hitch. Is > there any chance to test the sqlite/sqlite3 drivers as well? I reckon this > should not be too hard as sqlite/sqlite3 also compile as Win32 > apps. With these drivers being ok we could claim full MinGW support > for the core drivers. > > regards, > Markus > > -- > Markus Hoenicka > [EMAIL PROTECTED] > (Spam-protected email: replace the quadrupeds with "mhoenicka") > http://www.mhoenicka.de > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ libdbi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libdbi-devel

