OK, I'll try to get the error msg. And remember including the mail-list :-)
发件人： arnaud champion devatom fr
发送时间： 2010-10-31 16:48:15
抄送： libvir-list redhat com
主题： Re: Node.GetInfo error
at first GetLastError return an Error object. So you should anything like :
Errors.Error err = Errors.GetLastError();
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.
PS : can you also put libvirt-list redhat com in copy of your mails, to keep everyone in the loop ?
Sorry for disturbing again. But I get error while using Node.GetInfo.
NodeInfo aNodeInfo = new NodeInfo();
if (Node.GetInfo(con, aNodeInfo) < 0)
//MessageBox.Show("Node Info Error");
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 ? Thanks
__________ Information from ESET Smart Security, version of virus signature database 5577 (20101030) __________
The message was checked by ESET Smart Security.