Article ID: 184281
Article Last Modified on 11/18/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
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.
Keywords: kbbug kbpending KB184281