[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [Libvir] Libvirt on windows



Hi,

How stable is this compiled DLL?
I understand that this is from version 0.4.0, Do you have a 0.3 version that is not "experimental" (as you put it ...)

By the way I'm using the DLL without problems if anyone needs the dynamic binding code, I can send it to him in order to save time.

Gaby


-----Original Message-----
From: Richard W.M. Jones [mailto:rjones redhat com]
Sent: Tuesday, January 29, 2008 4:15 PM
To: Gabriel Kaufmann; libvir-list
Subject: Re: [Libvir] Libvirt on windows

Gabriel Kaufmann wrote:
> I tool libvirt-0.dll and I am using it in VC.
> In order to do this, I had to dynamically load the DLL and map all its functions.

This is somewhat outside my experience.  My best suggestion (guess) is
to try adding __declspec(dllexport) around some libvirt functions to see
if this causes them to be exported to VC++-compiled programs.

On gcc declspec doesn't appear to be necessary.

See also: http://www.cygwin.com/ml/cygwin/2000-05/msg00430.html

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]