Convert array of structs to IntPtr

前端 未结 4 1064
野性不改
野性不改 2020-12-09 19:53

I am trying to convert an array of the RECT structure (given below) into an IntPtr, so I can send the pointer using PostMessage to another application.

[Stru         


        
4条回答
  •  攒了一身酷
    2020-12-09 20:40

    I was unable to get this solution to work. So, I did some searching and the solution given here worked for me.

    http://social.msdn.microsoft.com/Forums/en-US/clr/thread/dcfd6310-b03b-4552-b4c7-6c11c115eb45

提交回复
热议问题