Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong?
Message
From
01/10/2004 08:59:04
 
 
To
01/10/2004 08:48:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00947862
Message ID:
00947905
Views:
15
>>Hi Km,
>>
>>Sorry to tell you, you misunderstood my remark.
>>
  1. I am not confirming the crash. I get no crash.
    >>
  2. Ctrl+Alt+Del is not a workaround. It was the only way I could quit the application, as a consequence of how you programmed it.

>>
>>>Hi Peter,
>>>
>>>Thanks for confirming the crash. Unfortunately, Ctrl+Alt+Del is not an acceptable workaround.
>>>
>>>KM
>>>
>>>
>>>>When running this code, the only way I see to quit is with ctrl+alt+del. And that does not crash here. (vfp7sp1)
>>>>
>>>>>Can anybody tell me what's wrong with this code? Or, can anybody suggest a workaround?
>>>>>
>>>>>
>>>>>x=.T.
>>>>>On Shutdown x=.F.
>>>>>
>>>>>o=Createobject('MyClass')
>>>>>
>>>>>Define Class MyClass As Custom
>>>>>	Function Init
>>>>>	Do While x
>>>>>		? Datetime()
>>>>>		=Inkey(1)
>>>>>	EndDo
>>>>>EndDefine
>>>>>
>>>>>
>>>>>In either development time or run time, when we try to close the application, VFP crashes!
>>>>>
>>>>>TIA
>
>Peter, click on VFP's X close button.

I copied the code to a prg and then ran it.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform