Indika Bandara wrote: > pretty.. but we misguide the function calling in some way..
Huh? Oh you mean the DEBUG_FUNC() thing. Yeah, that is semi-confusing at first. You get used to it, though, if the entire code base is flooded with them. Just imagine 50,000+ lines of code flooded with those macros...and you'll be close to what I was working with a few years ago... > anyway if this group comes with a some other way like inline asm or > whatever it would be good learning experience. There is no other way. Function names are not generally stored in the executable. You _might_ be able to get the number of parameters with inline assembler and some 'ebp/esp' games (assuming Intel architecture). But that will require you to target a very specific architecture, platform/OS, and compiler. You're better off locating documentation on how to do stack traces with OS-specific APIs. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
