PRB: Adding VB Custom Method Control Causes Fault in VFP5 (168826)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q168826 SYMPTOMS
Adding a custom control that has been created in Visual Basic 5.0 using a
custom method can cause a fault in Visual FoxPro 5.0 and 5.0a.
If the operating system is Windows 95, the message is "Illegal Operation -
Invalid Page Fault." If the operating system is Windows NT, the error is an
Application Error, Visual FoxPro referenced memory location 0x00000000,
which could not be read.
RESOLUTION
Add SYS(2333,0) in the INIT event of the form, save and run the form at
least once before adding the custom control to the form. Using the
SYS(2333,0) disables the ActiveX dual interface (VTABLE binding) support.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/14/1999 |
---|
Keywords: | kberrmsg kbprb KB168826 |
---|
|