Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute and Other api's
Message
From
21/01/1997 11:18:14
 
 
To
20/01/1997 19:11:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00017911
Message ID:
00017977
Views:
78
>I am looking for the header file that has the error msg values for ShellExecute and a number of other shell32api/win32api functions. The descriptions are in the Fox Win32api help and alot of the time the field constants are in WINDOWS.H but I am not able to find the header file with the ones in this call.
>Any help appreciated. (I did look in all the *.h files on my system and didn't find them)
>TIA
>Gary

Hi Gary.
16 Bit.
Error Meaning
--------------------------------------------------------------------------
0 System was out of memory or executable file was corrupt.
2 The file was not found.
3 The path was not found.
5 Attempt was made to link to a task dynamically, or there was a sharing
or network-protection error.
6 Library required separate data segments for each task.
8 There was insufficient memory to start the application.
10 The Windows version was incorrect.
11 The executable file was invalid. Either it was not a Windows-based
application or there was an error in the .EXE image.
12 Application was designed for a different operating system.
13 Application was designed for MS-DOS version 4.0.
14 Type of executable file was unknown.
15 Attempt was made to load a real-mode application that was developed for
an earlier version of Windows.
16 Attempt was made to load a second instance of an executable file
containing multiple data segments not marked read-only.
19 Attempt was made to load a compressed executable file. The file must be
decompressed before it can be loaded.
20 Dynamic-link library (DLL) file was invalid. One of the DLLs required to
run this application was corrupt.
21 Application requires Microsoft Windows 32-bit extensions.

For Win 32, the error values are

Error Meaning
--------------------------------------------------------------------------
0 System was out of memory or executable file was corrupt.
2 The specified file was not found.
3 The specified path was not found.
11 The .EXE file is invalid (non-Win32 .EXE or error in the .EXE image)
26 A sharing violation occurred.
27 The filename association is incomplete or invalid.
28 The DDE transaction could not be completed because the request timed
out.
29 The DDE transaction failed.
30 The DDE transaction could not be completed beacause other DDE
transactions were being processed.
31 There is no application associated with the given filename extension.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform