On 10/30/2010 01:48 AM, arnaud.champion@xxxxxxxxxx wrote: > There is an unmanaged type to specify when marshaling this : > UnamanagedType.SysInt or UnmanagedType.SysUInt, which are 64b or 32bits > aware. But the problem under windows : libvirt is compiled thru mingwin > so the dll is in 32bits and even if windows is in 64bits, I have to make > bindings over 32bits (I'm not sure my english make things clear when I > explain) Yeah, that's clear. Using mingwin is causing the bindings to be 32-bit, regardless of whether the Windows OS is 32-bit or 64-bit. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list