[libvirt-users] C# Client Fails to Locate libvirt-0.dll
Development
development at simulamen.eu
Wed Jul 14 19:35:26 UTC 2010
Attempting to develop C sharp client that uses libvirt DLL. Despite placing
the libvirt DLL in a number of different locations, call to virConnectOpen()
fails consistently with a DLL not found exception. Declaration as follows:
[DllImport("libvirt-0.dll")]
private static extern IntPtr virConnectOpen(String name);
Called as follows:
IntPtr conn = virConnectOpen(null);
Suggestions?
Tim McLeod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100714/c2735909/attachment.htm>
More information about the libvirt-users
mailing list