PRB: CallByName Fails to Return the Correct Error Information (194418)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q194418 SYMPTOMS
When an error is raised in a procedure of an ActiveX server and the
procedure is called with the CallByName() function from a client, the
client always gets error 440 regardless of the original error number being
raised.
RESOLUTION
See the MORE INFORMATION section of this article for a workaround.
STATUS
This behavior is by design.
REFERENCES
Additional information on TLBINF32.DLL can be found in the article "Inspect
Dynamic Objects" by Matthew Curland in the November 1998 issue of Visual
Basic Programmer's Journal, pages 120-124
For additional information, please see the following article in the
Microsoft Knowledge Base:
172988
: FILE: Programmatically Retrieve the Members of a DLL Class
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbprb KB194418 |
---|
|