C# Client Fails to Locate libvirt-0.dll

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

 



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

 


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux