PRB: Menus Either Do Not Work or They Cause a Crash in the MFC MDI ActiveX Document Container (243315)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- The Microsoft Foundation Classes (MFC)
This article was previously published under Q243315 SYMPTOMS
After switching between MDI documents in an MFC MDI ActiveX Document Container, the ActiveX Document Server's merged menus fail to work properly, or cause a crash with a message such as:
The instruction at "0x303820bc" referenced memory at "0x00000000". The memory could not be "read."
CAUSE
Some servers, such as Microsoft Excel 2000, need to be de-activated and re-activated every time they are activated in an MDI ActiveX Document Container.
RESOLUTION
To resolve the problem, each time an MDI view that contains a server is activated, you must de-activate and re-activate the server. See the sample below for complete steps.
Modification Type: | Major | Last Reviewed: | 1/6/2004 |
---|
Keywords: | kbActiveDocs kbprb KB243315 |
---|
|