It seems a lot of people are asking/PMing me about this, so I was going to write a nice long tutorial explaining it all, but I'm rather busy today.
So here is the simplest example you could ever imagine + comments. Binarys+Project included.
http://www.multiupload.com/QCCB5T7IR7
NOTE: This wont work when de-bugging, you have to build it.