
?In fact, I think it's better to let the choice to the libvirt team. I think they should have a good reason to not expose windows binary. Regards Arnaud From: 黄亮 Sent: Thursday, October 28, 2010 10:28 AM To: arnaud.champion@devatom.fr Subject: Re: Re: Re: SPAM-LOW: Re: Re: Guide for libvirt C# bindings yes. Compiling them can be really tough. And thanks for your job that we may invoke api of libvirt in Windows. Maybe you can upload the dll somewhere if libvirt.org won't host, just a suggestion. Regards. 2010-10-28 -------------------------------------------------------------------------------- Lancer -------------------------------------------------------------------------------- 发件人: arnaud.champion@devatom.fr 发送时间: 2010-10-28 16:10:54 收件人: 黄亮 抄送: libvir-list@redhat.com 主题: Re: Re: SPAM-LOW: Re: Re: Guide for libvirt C# bindings Yes all the dlls will be produced by this script. In fact, thanks for the script to it's author, it's the harder part (especially for windows users as I am, we are not used to compile in the linux wa ) I hope in the future that the libvirt windows dll will be directly hosted on libvirt.org, but I don't know. Regards, Arnaud From: 黄亮 Sent: Thursday, October 28, 2010 10:05 AM To: arnaud.champion@devatom.fr Subject: Re: Re: SPAM-LOW: Re: Re: Guide for libvirt C# bindings Really appreciated! Just to confirm that, all the dlls you mentioned is produced after I use photron scripts, right? That's great. And really thank you for what you've done. Regards and best wishes 2010-10-28 -------------------------------------------------------------------------------- 黄亮 -------------------------------------------------------------------------------- 发件人: arnaud.champion@devatom.fr 发送时间: 2010-10-28 15:45:15 收件人: 黄亮 抄送: libvir-list@redhat.com 主题: Re: SPAM-LOW: Re: Re: Guide for libvirt C# bindings Okay, libvirt-0.dll is the libvirt project compilation under windows. To produced it, there is two ways, the hard way and the smooth way the hard way is to install msys, mingwin and so one to have all needed tools, then download needed sources compile them. It's hard, and long. the smooth way is to use photron (Matthias) scripts to produce it. You can find scripts here : http://github.com/photron/msys_setup You download the scripts and foolow the readme.txt which is inside. Once you have compiled libvirt, you need to put these dll in an accessible way for your application (usually, I put it under the .exe produced by .Net) : - libcurl-4.dll (if compiled with esx support) - libgcrypt-11.dll - libgnutls-26.dll - libgpg-error-0.dll - libportablexdr-0.dll - libtasn1-3.dll - libvirt-0.dll - libxml2-2.dll Regards, Arnaud From: 黄亮 Sent: Thursday, October 28, 2010 9:29 AM To: arnaud.champion@devatom.fr Subject: SPAM-LOW: Re: Re: Guide for libvirt C# bindings Thank you for your reply. I've downloaded the source code by git. It seems the project needs a dll called libvirt-0.dll. It would be appreciated that you can tell me where to get the dll or how to produce it. Then I can try your examples and write my own. Regards 2010-10-28 -------------------------------------------------------------------------------- Lancer -------------------------------------------------------------------------------- 发件人: arnaud.champion@devatom.fr 发送时间: 2010-10-28 15:12:43 收件人: 黄亮 抄送: libvir-list@redhat.com 主题: Re: Guide for libvirt C# bindings Hi, the C# bindings provides 3 sample code to show how to use them. All functions are not in the examples, but examples show how to connect and get domain events (callbacks...) I use these bindings for another project : DAVIM ( www.devatom.fr sorry it's in french only ) and they work well. Anyway, I can help you if you have questions. Arnaud From: 黄亮 Sent: Thursday, October 28, 2010 4:30 AM To: arnaud.champion Subject: Guide for libvirt C# bindings Dear Arnaud Champion I learned you are making C# bindings for libvirt on libvirt.org. I'm interested in it and want to have a try on Windows. Do you have any guide books or introductions for using your C# bindings? I'm using .Net Framework 3.5 and VS 2005. Look forward to your reply. Regards 2010-10-28 -------------------------------------------------------------------------------- Lancer __________ Information from ESET Smart Security, version of virus signature database 5569 (20101027) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 5569 (20101027) __________ The message was checked by ESET Smart Security. http://www.eset.com