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
Description: S/MIME Cryptographic Signature