Marshal && Hwnd - Please Help

  • Thread starter Thread starter Juan Irigoyen
  • Start date Start date
J

Juan Irigoyen

I have the next code

byte[] data = new byte[14];
Marshal.Copy(this.Hwnd, data, 0, 4);

this code compiled well, but when i execute the code receive a error.

How can copy this.Hwnd (Handle of MessageWindow type IntPtr) to the first 4
bytes in data ?

Thanks.
 
Back
Top