Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 error
Message
De
13/12/1998 01:07:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00166839
Message ID:
00166965
Vues:
17
>>>specifically, referencing a non-existant form property in the Command >>Button's Click() method
>
>Yep, this does it every time. I just noticed it today... I defined a class, and referenced an invalid property. Boom....

Does this happen under NT? Running under NT 4.0, SP4, I followed the exact procedure without generating a C0000005 error:


Open VFP6 (build 8167, VS SP1 applied)
At the command box, Create form
Add a command button Command1
Add the following code to the Click() method:
thisform.imnothere = .F.
Run the form
Click Command1 - MB Property IMNOTHERE is not found
Select Suspend
From the top-bar menu, select Debug/Fix
MB Cancel program and remove objects from memory?
Select Yes

At this point, I'm in the editor in Command1.Click with thisform.imnothere = .F. selected. VFP shuts down fine.

What's the environment:

NT Server 4.0 build 1381, SP4 128 bit version installed
IE 4.01 with Active Desktop enabled
IIS 4.0 from Option Pack 4, along with the usual suspects for services
VS 6 - all of it, with SP1 applied and several VFP patches
Proxy Server 2.0
RAS
DHCP Server

I'll try installing VFP6 on a Win98 box tomorrow and repeat the test there.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform