Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute does not recognize long path names?
Message
From
08/01/2001 05:25:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
ShellExecute does not recognize long path names?
Miscellaneous
Thread ID:
00460480
Message ID:
00460480
Views:
67
I am trying to launch an executable file with the ShellExecute win32api function with the following parameters:

M.SHELL_RET = ShellExecute(FindWindow(0, _SCREEN.caption), ;
"open", "c:\softwares\general\finservices - modelo 2\finservices.exe", ;
"101", "c:\softwares\general\finservices - modelo 2", 1)

The exe does not launch and I receive the following value in M.SHELL_RET: 2

What is happening? I am sure about the exe path and exe file name.
Next
Reply
Map
View

Click here to load this message in the networking platform