<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.7930.16406"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}">
<META name=GENERATOR content="MSHTML 6.00.2900.2180">
<STYLE>@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 6.00.2900.2180">
<STYLE>@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
</STYLE>
</HEAD>
<BODY
style="MARGIN: 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=3 face=Calibri>Yes all the dlls will be produced by this
script.</FONT></DIV>
<DIV><FONT size=3 face=Calibri>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 <IMG style="POSITION: static; MARGIN: 0px; FLOAT: none"
title="Visage émoticône" tabIndex=-1 alt="Visage émoticône"
src="cid:AB0939E6333749CE9666B13A0D35B9B6@ArnaudG73"
MSNNonUserImageOrEmoticon="true"> )</FONT></DIV>
<DIV><FONT size=3 face=Calibri>I hope in the future that the libvirt windows dll
will be directly hosted on libvirt.org, but I don't know.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3 face=Calibri>Regards,</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Arnaud</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=lancerhuang@163.com
href="mailto:lancerhuang@163.com">黄亮</A> </DIV>
<DIV><B>Sent:</B> Thursday, October 28, 2010 10:05 AM</DIV>
<DIV><B>To:</B> <A
title="mailto:arnaud.champion@devatom.fr
CTRL + Cliquez ici pour suivre le lien"
href="mailto:arnaud.champion@devatom.fr">arnaud.champion@devatom.fr</A> </DIV>
<DIV><B>Subject:</B> Re: Re: SPAM-LOW: Re: Re: Guide for libvirt C#
bindings</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana>Really appreciated!</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Just to confirm that, all the dlls you mentioned is
produced after I use photron scripts, right?</FONT></DIV>
<DIV><FONT color=#000080>That's great. And really thank you for what you've
done.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Regards and best wishes</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2010-10-28 </FONT></DIV><FONT
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>黄亮</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> <A
href="mailto:arnaud.champion@devatom.fr">arnaud.champion@devatom.fr</A>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2010-10-28 15:45:15
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> 黄亮 </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> <A
href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</A> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: SPAM-LOW: Re: Re: Guide
for libvirt C# bindings </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT size=3 face=Calibri>Okay,</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>libvirt-0.dll is the libvirt project compilation
under windows. To produced it, there is two ways, the hard way and the smooth
way <IMG style="POSITION: static; MARGIN: 0px; FLOAT: none"
title="Visage émoticône" tabIndex=-1 alt="Visage émoticône"
src="cid:29E171A1EE8A49F28979650EFA5204C2@ArnaudG73"
MSNNonUserImageOrEmoticon="true"></FONT></DIV>
<DIV><FONT size=3 face=Calibri>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.</FONT></DIV>
<DIV><FONT size=3 face=Calibri>the smooth way is to use photron (Matthias)
scripts to produce it. You can find scripts here : <A
href="http://github.com/photron/msys_setup"><FONT
color=#0066cc>http://github.com/photron/msys_setup</FONT></A></FONT></DIV>
<DIV><FONT size=3 face=Calibri>You download the scripts and foolow the
readme.txt which is inside.</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>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) :</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libcurl-4.dll (if compiled with esx
support)</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libgcrypt-11.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libgnutls-26.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libgpg-error-0.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libportablexdr-0.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libtasn1-3.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libvirt-0.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri>- libxml2-2.dll</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Regards,</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Arnaud</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=lancerhuang@163.com
href="mailto:lancerhuang@163.com">黄亮</A> </DIV>
<DIV><B>Sent:</B> Thursday, October 28, 2010 9:29 AM</DIV>
<DIV><B>To:</B> <A title=arnaud.champion@devatom.fr
href="mailto:arnaud.champion@devatom.fr">arnaud.champion@devatom.fr</A> </DIV>
<DIV><B>Subject:</B> SPAM-LOW: Re: Re: Guide for libvirt C#
bindings</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana>Thank you for your
reply.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>I've downloaded the source code by git. It seems the
project needs a dll called libvirt-0.dll.</FONT></DIV>
<DIV><FONT color=#000080>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.</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>Regards</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2010-10-28 </FONT></DIV><FONT
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>Lancer </FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> <A
href="mailto:arnaud.champion@devatom.fr">arnaud.champion@devatom.fr</A>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2010-10-28 15:12:43
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> 黄亮 </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> <A
href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</A> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: Guide for libvirt C#
bindings </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<DIV><FONT size=3 face=Calibri>Hi,</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>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...)</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>I use these bindings for another project : DAVIM
( <A href="http://www.devatom.fr">www.devatom.fr</A> sorry it's in
french only ) and they work well.</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Anyway, I can help you if you have
questions.</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Arnaud</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT size=3 face=Calibri></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=lancerhuang@163.com
href="mailto:lancerhuang@163.com">黄亮</A> </DIV>
<DIV><B>Sent:</B> Thursday, October 28, 2010 4:30 AM</DIV>
<DIV><B>To:</B> <A title=arnaud.champion@devatom.fr
href="mailto:arnaud.champion@devatom.fr">arnaud.champion</A> </DIV>
<DIV><B>Subject:</B> Guide for libvirt C# bindings</DIV></DIV></DIV>
<DIV><FONT size=3 face=Calibri></FONT><BR></DIV>
<DIV><FONT size=2 face=Verdana>Dear Arnaud Champion</FONT></DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV>Do you have any guide books or introductions for using your C# bindings?
I'm using .Net Framework 3.5 and VS 2005.</DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV>Look forward to your reply.</DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2010-10-28
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2
face=Verdana>Lancer </FONT></DIV></FONT><BR><BR>__________ Information from
ESET Smart Security, version of virus signature database 5569 (20101027)
__________<BR><BR>The message was checked by ESET Smart Security.<BR><BR><A
href="http://www.eset.com">http://www.eset.com</A><BR></FONT></DIV></FONT></DIV></BODY></HTML>