Robb
2007-01-26 18:37:01 UTC
I'm using VB 6.0, Service Pack 6, on an XP machine.
I'm raising an error with a custom Description in a DLL.
Err.Rasie 106,"MySource","My Custom Description"
When the invoking DLL catches the error the custom description has been
replaced with the default VB description for the error number I raised. And
the Err.Source is blank.
Err.Number = 106
Err.Source = blank
Err.Description = Application-defined or Object-defined error
I'm raising an error with a custom Description in a DLL.
Err.Rasie 106,"MySource","My Custom Description"
When the invoking DLL catches the error the custom description has been
replaced with the default VB description for the error number I raised. And
the Err.Source is blank.
Err.Number = 106
Err.Source = blank
Err.Description = Application-defined or Object-defined error
Any ideas as to why my "custom description" is being lost?
The same code works as I would expect on other XP machines in our shop.--
Robb
Robb