If you've never compiled FS_Open, look away now.
I've added in the code required to get the callstacks out of FS builds done using VC2005 or VC2008 (I'm not sure that this will work with anything else). Since the majority of coders use one of these two, this should be useful.
What major improvement will this herald?
Non-VC6 users will finally be able to get this:

A note on how it works:
When you call SCP_DumpStack( - ), the calling thread is suspended and another thread launched which actually does the stack walking (this is the MS recommended way of doing things). This uses the DbgHelp API.
Here's the kicker: You need the platform SDK. I've developed this against the Vista PSDK (you shouldn't be compiling against anything earlier), and tested this against that PSDK.
In order to use, you define PDB_DEBUGGING globally (although, curiously enough, I've not had to copy the PDBs into the FS directory for this to work - note that this should also work with release builds if the PDBs are built also - there may be a reference to the build directory in the search path. I'm not sure.).
The normal behaviour is observed if this isn't defined (includes are also within the PDB_DEBUGGING ifdef, so nobody should notice any changes there).
There is the catch that whoever is using !VC2008 will have to add mspdb_callstack.[cpp/h] to the project (stick it in globalincs). Only windows users need to worry about this, and only if you're interested in trying out PDB_DEBUGGING.
In order to get this to work correctly (and neatly, I might add), I've had to change a few lines of constness in clean_filename and dump_to_clipboard - this has not caused any problems.
If you get compile errors, report them below, and I'll look into them ASAP - there shouldn't be any!
If you've got any comments/suggestions, report them below.
If the code disappears without a trace, PM
this guy or
this guy or myself.
Above all, ENJOY - SCP is supposed to be an enjoyable team effort

portej05
EDIT: NOTE: This is not enabled by default. You need to manually define PDB_DEBUGGING in the preprocessor pages of 'code' options.