FIX: Command Line Compile Fails with MFC ActiveX Control (190196)
The information in this article applies to:
- Microsoft Visual Basic Learning 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 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.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | kbbug kbfix KB190196 |
---|
|