GetCurrentMethod
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Not easily. C++ doesn't provide reflection type information in the way .NET and Java do, meaning that it is very difficult to determine what method you are in etc. unless you implement an appropriate framework yourself. The other alternative is to build your application with symbols, and then use the stack walking functions to determine where you are - that's not a particularly nice way of doing it though. Dave http://www.cloudsofheaven.org