The information in this article applies to:
SYMPTOMSWhen compiling an ActiveX Server (EXE or DLL), you may get the following error at the end of compiling: If you choose to view the error details, the following message will be displayed:
CAUSE
When the Binary Compatibility property is set for an ActiveX Server
component (.EXE or .DLL), Microsoft Visual Basic 5.0 leaves the compatible
source file in an open state until the Visual Basic 5.0 environment is
closed. RESOLUTION
There are a few workarounds to this behavior:
-or- -or- STATUSMicrosoft 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. MORE INFORMATION
In Microsoft Visual Basic 5.0's development environment, the user has the
option to select the following compatible component options:
Selecting Project Compatibility or Binary Compatibility enables the file location textbox. The user can then select the source file for the compatibility during the compile process. During compilation of the project, Visual Basic opens the compatible source file, reads specific information, and then writes the compiled compatible file to the destination specified on the Make Project dialog. If the user selects Binary Compatibility, Visual Basic does not close the source file for an ActiveX EXE Server until Visual Basic itself is closed. This is not the case for the Project Compatibility option, nor is it the case for ActiveX Control projects. The result of leaving the file open is not an issue for the user unless the user selects the same filename and location for the destination file. If they are the same, the user will encounter an error. REFERENCESFor more information on this problem, please refer to the ReadMe.TXT file enclosed on the Microsoft Visual Basic 5.0 CD-ROM. Additional query words:
Keywords : kberrmsg kbVBp500 kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |