Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to use WinExec
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00092940
Message ID:
00092952
Views:
22
>Why not just use DO instead?

I need to create an independent process for the EXE. When the program is about to terminate, it launches another occurrance of itself. That is why I need to use WinExec, CreateProcess, or ShellExecute.

I was never able to use DECLARE to define ShellExecute. It said it could not find the entry point in the DLL, but that is another story.

I guess my question is can I do WinExec(SYS(16, 0), 1). It works on NT 4.0 but not on Windows 95. Does it make any difference that I compiled the EXE on NT? I am running the EXE from a NetWare 4.x server.

Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform