Bug below
No one pointed out a nasty little bug below. The define should not read #define CALLSTACK CallStack(…), but #define CALLSTACK CallStack aCallStackObject(…) indeed. Otherwise, the class d’tor would be called immediately and the whole thing would not make any sense. I corrected this mistake. On the one hand, I’m glad that I found that one myself; on the other hand, it indicates well that no one is reading my blog. I’ll start a promotion tour and add it to my developia board signature or so.
Happy Easter everyone.
Popularity: 1%



Didn’t see the error because I didn’t look carefully at the code. And that was because I thought that it is not quite usable for me, because I simply use the Win32 built-in stack trace utility. :)
BTW: the CAPTCHA is not readable. This is my 3rd try of posting this.