Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DDE Quit Woes under windows 95
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00049124
Message ID:
00049513
Views:
59
>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
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform