Página 1 de 1

Exit Code del ShellExecute

Publicado: Mié Mar 22, 2006 4:10 pm
por joseluis
Hola,
No soy capaz de encontrar una tabla con los códigos de salida de las
aplicaciones. Concretamente el código 31 que me devuelve la función
shellexecute cuando lWait := .T.
Agradecido por la ayuda.
Saludos,
José Luis Capel

Exit Code del ShellExecute

Publicado: Mié Mar 22, 2006 4:42 pm
por ignacio
0 The operating system is out of memory or resources.
ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.
ERROR_BAD_FORMAT The .exe file is invalid (non-Microsoft Win32 ..exe or error in .exe image).
SE_ERR_ACCESSDENIED The operating system denied access to the specified file.
SE_ERR_ASSOCINCOMPLETE The file name association is incomplete or invalid.
SE_ERR_DDEBUSY The Dynamic Data Exchange (DDE) transaction could not be completed because other DDE transactions were being processed.
SE_ERR_DDEFAIL The DDE transaction failed.
SE_ERR_DDETIMEOUT The DDE transaction could not be completed because the request timed out.
SE_ERR_DLLNOTFOUND The specified dynamic-link library (DLL) was not found.
SE_ERR_FNF The specified file was not found.
SE_ERR_NOASSOC There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable.
SE_ERR_OOM There was not enough memory to complete the operation.
SE_ERR_PNF The specified path was not found.
SE_ERR_SHARE A sharing violation occurred.
#define SE_ERR_SHARE 26
#define SE_ERR_ASSOCINCOMPLETE 27
#define SE_ERR_DDETIMEOUT 28
#define SE_ERR_DDEFAIL 29
#define SE_ERR_DDEBUSY 30
#define SE_ERR_NOASSOC 31
Saludos
"José Luis Capel" <joseluis@iaicom.com> escribió en el mensaje news:44216a5f$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hola,
>
> No soy capaz de encontrar una tabla con los códigos de salida de las
> aplicaciones. Concretamente el código 31 que me devuelve la función
> shellexecute cuando lWait := .T.
>
> Agradecido por la ayuda.
>
> Saludos,
> José Luis Capel
--

Exit Code del ShellExecute

Publicado: Mié Mar 22, 2006 5:36 pm
por joseluis
Ignacio,
Muchas gracias!!
Saludos,
José Luis Capel
Ignacio Ortiz de Zúñiga escribió:
> 0 The operating system is out of memory or resources.
> ERROR_FILE_NOT_FOUND The specified file was not found.
> ERROR_PATH_NOT_FOUND The specified path was not found.
> ERROR_BAD_FORMAT The .exe file is invalid (non-Microsoft Win32 .exe or
> error in .exe image).
> SE_ERR_ACCESSDENIED The operating system denied access to the specified
> file.
> SE_ERR_ASSOCINCOMPLETE The file name association is incomplete or invalid.
> SE_ERR_DDEBUSY The Dynamic Data Exchange (DDE) transaction could not be
> completed because other DDE transactions were being processed.
> SE_ERR_DDEFAIL The DDE transaction failed.
> SE_ERR_DDETIMEOUT The DDE transaction could not be completed because
> the request timed out.
> SE_ERR_DLLNOTFOUND The specified dynamic-link library (DLL) was not found.
> SE_ERR_FNF The specified file was not found.
> SE_ERR_NOASSOC There is no application associated with the given file
> name extension. This error will also be returned if you attempt to print
> a file that is not printable.
> SE_ERR_OOM There was not enough memory to complete the operation.
> SE_ERR_PNF The specified path was not found.
> SE_ERR_SHARE A sharing violation occurred.
>
>
> #define SE_ERR_SHARE 26
> #define SE_ERR_ASSOCINCOMPLETE 27
> #define SE_ERR_DDETIMEOUT 28
> #define SE_ERR_DDEFAIL 29
> #define SE_ERR_DDEBUSY 30
> #define SE_ERR_NOASSOC 31
>
> Saludos
>
> "José Luis Capel" <joseluis@iaicom.com <mailto:joseluis@iaicom.com>>
> escribió en el mensaje news:44216a5f$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> > Hola,
> >
> > No soy capaz de encontrar una tabla con los códigos de salida de las
> > aplicaciones. Concretamente el código 31 que me devuelve la función
> > shellexecute cuando lWait := .T.
> >
> > Agradecido por la ayuda.
> >
> > Saludos,
> > José Luis Capel