|
From: Jordi A. C. <ja...@gr...> - 2008-09-08 08:24:42
|
Hello, We are developing an application in Visual studio that need acces to PostgreSQL and SQLite. It would be nice to use your library in the project. We have the compiled cygwin version but we don't have an import library to use this dll from VS. To solve this we've tried to recompile the library with VS. To succesfully compile we applyed the following changes: 1.- Uint -> unsigned int 2.- remove unistd.h 3.- Add copy dll functions from __MINGW32__ section to a new VisualStudio section. 4.- remove dirent.h 5.- # define __attribute__(x) /*NOTHING*/ to remove gcc specific error checking. 6.- use Windows filesystem interface for dbi_initialize. 7.- #define __func__ __FUNCTION__ Is there any interest to include this in libdbi? Regards, Jordi Allué |