Check out my new blog at https://shibumiware.blogspot.com

Wednesday, May 18, 2011

If you are going to use the MDbg library in your app…

…REMEMBER TO SET THIS ON YOUR ENTRY PROC:

[MTAThread] // MDbg is MTA threaded
static void Main() { … };

I did this when I first started working on my debug viewer tool, but moved some types around and forgot to re-add it and spent an HOUR staring at my screen trying to figure out why everything stopped working…

No comments :

Disclaimer

Content on this site is provided "AS IS" with no warranties and confers no rights. Additionally, all content on this site is my own personal opinion and does not represent my employer's view in any way.