wolfjjj
asked on
Call Stack
Hi,
I was wondering if it is possible to reproduce the call stack information in a compiled binary as if you had pressed CTRL+L in devel.,
i.e.
private sub whatever()
on error goto errHandler
...
errHandler:
if err.number <> 0 then
msgbox callStack
endif
end sub
public function callStack() as string
//gathers and returns a string containing the call stack
end function
Any ideas?
Thanx
PS I will adjust the points as necassary.
I was wondering if it is possible to reproduce the call stack information in a compiled binary as if you had pressed CTRL+L in devel.,
i.e.
private sub whatever()
on error goto errHandler
...
errHandler:
if err.number <> 0 then
msgbox callStack
endif
end sub
public function callStack() as string
//gathers and returns a string containing the call stack
end function
Any ideas?
Thanx
PS I will adjust the points as necassary.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It appears <= VB6 cant do what I've asked and morgan_peat has suggested a viable solution.
Thanx for you input.
Thanx for you input.
listening & Learning