Quoting Jordi Allue Cabellos <[EMAIL PROTECTED]>:

>
> 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?
>

Hi,

before including MSVC-specific changes I'd like to find out whether  
MinGW provides a library which is sufficient to link MSVC projects  
against. If not, the required changes can be applied to libdbi.  
However, we'd need a clean patch which provides the necessary changes  
without breaking other OSes. If you can provide such a patch, I'll be  
happy to review it and test it on other platforms.

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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libdbi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-devel

Reply via email to