Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DDE Quit Woes under windows 95
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00049124
Message ID:
00049787
Vues:
71
>>Hi Everyone.
>>
>>I have a VFP 3.0b app that at different times, sets up some DDE conversations with a couple of 16 bit applications. When I issue the QUIT command for the DDE server app, under windows 95 I get a GPF. This does not occur under windows 3.1. Is there anything that I can do to change thsi ugly behavior under windows 95? I cannot replace these 16 bit server apps with 32 bit ones because the app has to be able to run on both platforms for about the next year.
>>
>>TIA.
>>
>>Marcia
>
>I assume that you're using DDEExecute to tell the application to terminate, and that when it's issued you get the GPF. I think the problem may be caused by the DDE channel being still opened without a server related to it. I'd suggest that you first close the DDE channel, then, using the Windows API, shutdown the application. Unfortunately, I haven't done this.
>
>Since the apps are 16 bit, I would assume that you'd use the Win 3.1 API call TerminateApp through RegFN/CallFN. If you need additional help, please post a reply.
>
>HTH,
>
>George
Hi George.

Thanks for the help. Yes! I do need some additional help to set this up. Are the relevant commands available thru VFP help files? If you tell me what to look up, I'm there. I am curious, though. Why isn't this issue of using DDEExecute to send a quit command cause the GPF under window 3.1?

Are you going to be in San Diego tomorrow? If so, maybe I'll see you there!

Thanks again.

MArcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform