Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Howto close all Excel Applications
Message
From
16/03/2001 11:41:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00485601
Message ID:
00485949
Views:
11
>Cetin,
>
>Whether sendmessage() is not an equvalent of the terminateprocess()?
>I thought that when passing to sendmessage() the second parameter 2 instead of 16 process should be destroyed without any close dialog but instead the error appears like: "memory can not be overwritten...".
>I will appreciate your opinion. Thanks for your input.
>
Yuri,
I don't know their relation well. SendMessage with WM_DESTROY works w/o any error and dialog to save. That error however sounds to come from VFP side. Maybe you're getting it with word windows ? Word is somewhat special in window and process handling. Multipl word launches all point to the same processid. First launched somewhat behave like a parent of others and hwnd is not released till all childs are closed (FindWindow would still find it with class OpusApp but with an empty windowtitle). I'm not sure about it but might be the reason and destroying it last might cure.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform