Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is an app running?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160151
Message ID:
00160254
Views:
17
>>What's "best" is strictly a matter of opinion. I prefer using my Is_Run32 function (which is available in the download section under Win32 and other APIs). Some others might suggest trying to use DDE, but that's totally unreliable in my opinion, since the application must support it.
>
>I disagree. If the application supports it, then it's VERY reliable. Basically, it's difficult to find something safer than this method.
>
>If the second app is yours and you can change its code, then there's nothing to be worried about with DDE.
>
Hi Vlad,

I feel that DDE and OLE are, in general, less reliable. The app has to support it. There may be instances where I just need to know if, say, Notepad is running, or something else. I simply don't believe that it should be the responsibilty of one application to let another know that it's running. If my program needs to know that another app's running, then it's my app that should take the responsibility of finding that out. By using DDE or OLE, you're putting the responsibility on the other app.

Of course, that just IMHO. I could be wrong.
George

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

Click here to load this message in the networking platform