I have source code for an existing ATL COM DLL compiled in VC++ 6.0. I have made a test application in VB 6.0 that invokes one of the exposed function of the DLL. I need to generate a trace log of all the function calls made by the DLL to complete its operation. The DLL also has a number of private classes that are used during the execution of the invoked function.
e.g. The test client invokes f1().
In short, i would like to save my entire call stack, so that i can determine the exact flow of execution inside the DLL.
Can anybody give any ideas on how to achieve this?