1
DotNet / First version released
« on: January 15, 2009, 11:43:00 pm »
Was the previous version of GetRect working for you? It was not working for me. It would throw an ArgumentException inside GetRect, on the PtrToStructure call, indicating that Rect should not be a value class.
This version works for me. It creates the structure for you, so you don't need any code inside GetRect except that which I've already pasted.
This version works for me. It creates the structure for you, so you don't need any code inside GetRect except that which I've already pasted.