possible bug?

Sep 16, 2014 at 12:08 PM
Hello,

I was integrating StackWalker in our software and while studying it I followed a link in the code to http://blog.kalmbach-software.de/2008/04/02/unhandled-exceptions-in-vc8-and-above-for-x86-and-x64/
On this site if you look in the comment section you see that there is a small code change made to use a different register. I just want to let you knowthat this little change didn't make back into this software.

Btw it works great so far keep up the good work!

Cheers,
Pjotr Svetachov
Coordinator
Sep 16, 2014 at 12:13 PM
Thanks for your comment.

For a even better soltion, see:
http://blog.kalmbach-software.de/2013/05/23/improvedpreventsetunhandledexceptionfilter/
Marked as answer by jkalmbach on 9/16/2014 at 5:17 AM
Coordinator
Sep 16, 2014 at 12:17 PM
Updated StackWalker with newest version...
Sep 16, 2014 at 12:47 PM
Wow thanks for the fast reply. Just tested it and it works like a charm. Just one question, I'm curious why suddenly the VirtualProtect call is not used anymore.
Coordinator
Sep 16, 2014 at 12:51 PM
by default, codepages are not protected... but it might be a good idea to insert the VirtualProtect again...
In windows it is default, that code-pages use copy-on-write behavior...
Coordinator
Sep 16, 2014 at 12:56 PM
Updates the code to reflect the VirtualProtect again...