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

[libvirt-users] C# Client Fails to Locate libvirt-0.dll



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

 


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