INFO: Do Not Define Functions in DLLs that Raise an Exception (129944)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q129944 SUMMARY
Visual Basic does not provide the capability to return rich error
information from a DLL.
MkTypLib doesn't support '[retval]' on members of a DLL. This means that
you can't define 'Functions' in a DLL that also raises an exception. This
is a restriction in Visual Basic version 4.0.
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbinfo KB129944 |
---|
|