Thread View: borland.public.cppbuilder.nativeapi
1 messages
1 total messages
Started by quincy451
Sun, 06 Jan 2008 08:20
Stackwalk, map2dbg, BCB6 - solved???
Author: quincy451
Date: Sun, 06 Jan 2008 08:20
Date: Sun, 06 Jan 2008 08:20
18 lines
1808 bytes
1808 bytes
Ok I posted a post on this mid last year and no one replied.
Well, here is my solution:
1) if you are looking for the call stack from an exception you do NOT
need to gather the CONTEXT of the current thread it is given to you in
the EXCEPTION_RECORD.
2) the BCB6 solution is something of a kludge but simple and works.
First build a callstack.dll in bcb5.
Now in bcb6 do a LoadLibrary("callstack.dll");
and a GetProcAddr(handle, "dcallstack"); to get the function from the
bcb5 dll.
Now use the function pointer returned form GetProcAddr().
This works.
David
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads