20 June 2009 1 Comment

Why AfxGetThread() returns NULL in AfxWinMain()?

Recently I worked with one of my colleague on an interesting scenario in which the MFC application was crashing on startup. The next step was to run the application under WinDbg. After running the application under WinDbg we saw that we are actually access violating an address which was indeed a NULL pointer

See the original post:
Why AfxGetThread() returns NULL in AfxWinMain()?

If you liked this post, buy me a Coffee.

One Response to “Why AfxGetThread() returns NULL in AfxWinMain()?”

  1. Nadine 22 June 2009 at 10:42 pm #

    Hi,
    Can i get a one small photo from your blog?
    Nadine


Leave a Reply