Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API_AppRun vs. launch an app and wait
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00680456
Message ID:
00681576
Views:
166
>Hi George,
>That seems so simple however I am having a proplem. I have vfp run the cad cam app. Now at this point the cad cam app is on the desktop as well as vfp is on the desktop. I type in the command window the following:
>closewindow(is_run32("CadCam",.t.)) && I have included closewindow.prg below

Neil,

Is the above syntax correct? Or are you using
CloseWindow(Is_Run32("CadCam"), .T.)
Since I'm unfamiliar with the application, it's really hard to say what's going on. Does it exhibit the same behavior if you use WM_CLOSE rather than WM_DESTROY?
George

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

Click here to load this message in the networking platform