Programmatically determine callstack?

Windows specific forum
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Programmatically determine callstack?

Post by jassing »

Programmatically, is it possible to determine the callstack (w/o modifying every procedure/module to figure it out)

(why? I have a dll that has "attachThread()" and "detechThread()" that are getting called almost 100 times per second, but I have no threads loading/unloading that fast. The DLL is only declare with the Import/EndImport at the beginning of the code, so it's not reloaded anywhere in code.)