Has anyone tried linking our DLLs and MS Visual Studio code?

Richard W.M. Jones rjones at redhat.com
Thu Dec 11 20:01:38 UTC 2008


On Thu, Dec 11, 2008 at 07:22:13PM +0100, Erik van Pienbroek wrote:
> Mixing MinGW produced DLL's with Visual Studio applications works, but
> there are some caveats to it. The most annoying thing is that file
> pointers aren't exchangeable between MinGW and Visual Studio. Normally
> this isn't a problem, but for example with GLib, there's a function to
> open a file (g_open, which returns a file pointer), but there are no
> functions to read/write data to it making it practically useless in a
> mixed environment. A few months ago this was also discussed on the
> gtk-devel mailing list [1] but unfortunately nothing happened since
> then.
[...]
> [1]: http://www.mail-archive.com/gtk-devel-list@gnome.org/msg08138.html

Thanks - that was a really useful link and explains a bit about the
problems I was having in some unrelated code a few weeks ago.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



More information about the mingw mailing list