:S I'm far away from a git expert :SMaybe anyone on the list can help us ?ArnaudFrom: 黄亮Sent: Monday, November 01, 2010 2:42 PMSubject: Re: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo errorHi Arnaud,I tried GitExtension, but while applying patch, it returns "Patch format detection failed. "Should I change some settings or is there something not right in the patch file?Regards2010-11-01
Lancer
发送时间: 2010-11-01 16:55:51收件人: 黄亮主题: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo errorOk,if you are under windows (like me), use GitExtension (http://sourceforge.net/projects/gitextensions/)It works, not perfect, but it works.ArnaudFrom: 黄亮Sent: Monday, November 01, 2010 9:52 AMSubject: Re: Re: SPAM-LOW: Re: Re: Node.GetInfo errorHi Arnaud,The NodeInfoStructure you sent to me yesterday works, thank you.I saw your patch file, should I manually apply it to the source code or is there some tools I can use to automatically apply the changes?Regards2010-11-01
Lancer
发送时间: 2010-11-01 16:37:17收件人: 黄亮抄送: libvir-list主题: Re: SPAM-LOW: Re: Re: Node.GetInfo errorHi,I think the solution is in the last patches I have send (which are not yet in the git). Have you tried the NodeInfoStructure I have sended yesterday ?ArnaudFrom: 黄亮Sent: Monday, November 01, 2010 3:01 AMCc: libvir-listSubject: SPAM-LOW: Re: Re: Node.GetInfo errorHI,I triedErrors.Error err = Errors.GetLastError();MessageBox.Show(err.Message);But IDE shows compilation errors that there is no "Error" defination in "Errors", and "Errors.GetLastError()" returns int.I made a guess that maybe it was like this:Error err = Errors.SaveLastError();MessageBox.Show("Get Info error: " + err.Message);It can be compiled but "err.Message" has nothing in it.Did I make a wrong assumption?Regards2010-11-01
Lancer
发送时间: 2010-10-31 16:48:15收件人: 黄亮主题: Re: Node.GetInfo errorOk,at first GetLastError return an Error object. So you should anything like :Errors.Error err = Errors.GetLastError();MessageBox.Show(err.Message);For the NodeInfo structure, I think the problem is the same that was for DomainInfo, I'll check marshaling. Then respond you with the correct infos.ArnaudPS : can you also put libvirt-list@redhat.com in copy of your mails, to keep everyone in the loop ?Hi,Sorry for disturbing again. But I get error while using Node.GetInfo.Code:NodeInfo aNodeInfo = new NodeInfo();if (Node.GetInfo(con, aNodeInfo) < 0){//MessageBox.Show("Node Info Error");MessageBox.Show(Errors.GetLastError().ToString());return 0f;}I'm sure con != IntPtr.Zero. I tried to use Errors.GetLastError(), it returns int. But I don't know what to do with it.So, any suggestions ? ThanksRegards2010-10-31
Lancer
__________ Information from ESET Smart Security, version of virus signature database 5577 (20101030) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature database 5580 (20101031) __________
The message was checked by ESET Smart Security.
http://www.eset.com