Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting from Recycle Bin
Message
 
To
06/04/2006 15:32:12
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01110745
Message ID:
01111189
Views:
32
Herman, thanks.

Looks like I need to go here with another approach.
Even inkey(0,..) forces INVOKEVERBS to work, it requires user to click on the screen; otherwise EXE does not quit after the code is completed. If I use inkey(1), then user dialogs initiated by INVOKEVERBS are ignored.
So, I decided to drop the issue, and to go with another routine that does not need "invokeverbs".

Thanks for your valiable input.

>Hi Yuri,
>
>Well, I can't quite explain what is really happening here too. But my guess is, when the VFP apps running as an EXE, VFP needs at least "one event" so VFP can wait for any input. Without READ EVENTS or INKEY(0), VFP will not wait for any input especially an event from a dialog (thread) that is not attached to VFP, like the dialog comes from InvokeVerbs. And then VFP execute the line "oShell = NULL" so the object is destroyed without question.
>
>But again that's just my guess :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform