I've recently heard about the CaptureStackBackTrace function by reading this post. I cannot find it in any of my Visual Studio 2005 header files however, and I'm guessing (from the MSDN URL which mentions VS.85) that this may only be a Visual Studio 2008 thing.
Is there a way, perhaps by manually finding the entry point in a system DLL somewhere, to get this function under Visual Studio 2005?