Hi Ryan!
> Does anyone know how to catch the (detailed) .net exception when
> running in a VB6 app?
>
> VB6' Err object doesnt show all available information, like the stack
> information...
I think this is "by design". The VB6 Err-Object is just a wrapper
around the COM-IErrorInfo-Interface[1] and there is no space for the
call stack.
One solution might be so to put the call stack info into the Message:
protected override string Message
{
get
{
return "Hello World" + this.StackTrace.ToString();
}
}
[1] http://msdn.microsoft.com/library/en-us/automat/htm/chap11_5tph.asp
Cheers
Arne Janning
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com