FIX: Command Line Compile Fails with MFC ActiveX Control
Article ID: 190196
Article Last Modified on 11/18/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
This article was previously published under Q190196
SYMPTOMS
When compiling a Microsoft Visual Basic project from a command line, the
following error may occur:
The instruction at "0x00000000" referenced memory at "0x00000000".
The memory could not be "read".
However, the project does compile successfully from the Visual Basic IDE
(Integrated Development Environment.)
CAUSE
An ActiveX Control used within the project does not have a default Icon
resource.
RESOLUTION
You must include a Bitmap resource in each ActiveX control used in the
project.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Basic
6.0.
Additional query words: kbDSupport kbVC kbdsd kbVBp500bug kbVBp600fix kbCompiler
Keywords: kbbug kbfix KB190196