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:
00093051
Views:
36
>Well, WinExec() is provided for backward compatibility, so I'd recommend trying to work some more with CreateProcess(). One of the major differences is that in Win 95 and Win NT (32 bit) is that all apps run in their own address space, and for this reason alone, I think you'll stand a better chance of getting this to work with CreateProcess().

CreateProcess does the same thing. In this case, GetLastError() returns 32. MSDN help says that "the process cannot access the file because it is being used by another process".

I really do appreciate you input! Thanks again!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform