Note to Developers - Frustration with thread isolation restrictions
I've had this favorite old vb6 program. It gets pixels off the whole screen I do a getpixel for the color information. It's timer driven sampling at 100ms intervals. I converted it to .dot net but notice that old API calls were not working. That wasn't because of marshalling. When I looked up the documentation (GetAsyncKey is an example, I noticed that these routines will return a zero if they are not called by the thread that started the form.
I can't do subclassing because I'm interested in pixels off the form.
I get so frustrated at the restrictions on multithreading. There really should be some way to turn that off. I also understand that this may be a security concern because someone could be reading the keyboard, unbeknownst to them.
All I know, is that i'd love to be able to take responsibility for my own multiple threads like I used to do in vb6. I LOVE VS2005, it's a work of art but this one thing is so troubling.
At this point, I don't see a way to get the pixel data and look at keyboad commands which would start different modes of operation.

