BUG: Constants Used in Function Call Breaks Binary Compatibility (184281)
The information in this article applies to:
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q184281 SYMPTOMS
When trying to compile an ActiveX DLL or ActiveX EXE, the following error
is received, even when you have not modified any interfaces:
<FUNCTION NAME> in the <CLASS NAME> class module has arguments and/or a
return type that is incompatible with a similar declaration in the
version compatible component.
CAUSE
This error is caused by using a CONSTANT (CONST) in a function declaration.
RESOLUTION
In the function declaration, use the actual value of the CONSTANT, rather
than the CONSTANT itself.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbbug kbpending KB184281 |
---|
|