Delphi - Parámetros Pointer

 
Vista:

Parámetros Pointer

Publicado por jordi (8 intervenciones) el 14/12/2001 10:25:35
Estoy intentando ejecutar la funcion CreateProcess del la API de windows y uno de lo paramentros es un Pointer, por mucho que busco no encuentro lo que se le puede pasar, alguién me puede ayudar o tiene algún ejemplo.
GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Parámetros Pointer

Publicado por mamcx (6 intervenciones) el 14/12/2001 14:39:03
De la ayuda de Delphi (SI Delphi incluye la ayuda del SDK de MS, no muy actualizada pero sirve)

Esta es la funcion (en C++ obviamente)

BOOL CreateProcess(

LPCTSTR lpApplicationName, // pointer to name of executable module
LPTSTR lpCommandLine, // pointer to command line string
LPSECURITY_ATTRIBUTES lpProcessAttributes, // pointer to process security attributes
LPSECURITY_ATTRIBUTES lpThreadAttributes, // pointer to thread security attributes
BOOL bInheritHandles, // handle inheritance flag
DWORD dwCreationFlags, // creation flags
LPVOID lpEnvironment, // pointer to new environment block
LPCTSTR lpCurrentDirectory, // pointer to current directory name
LPSTARTUPINFO lpStartupInfo, // pointer to STARTUPINFO
LPPROCESS_INFORMATION lpProcessInformation // pointer to PROCESS_INFORMATION
);

Para abreviar, busca CreateProcces en la ayuda que alli te explican cada parametro (por ejemplo se descubre que el pointer es realmente una cadena...:)

Chaou...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar