Erich J. Ruth
April 29th, 1999, 07:05 PM
The WinExec() function is as follows;
UINT WinExec( LPCSTR lpCmdLine, // address of command line
UINT uCmdShow // window style for new application);
}
If I am running a program from the directory c:\temp how can I execute the file
\windows\notepad.exe. I don't understand how to put the address of the command
line in this LPCSTR variable and I don't understand what kind of variable
LPCSTR is?
Any response is appreciated.
UINT WinExec( LPCSTR lpCmdLine, // address of command line
UINT uCmdShow // window style for new application);
}
If I am running a program from the directory c:\temp how can I execute the file
\windows\notepad.exe. I don't understand how to put the address of the command
line in this LPCSTR variable and I don't understand what kind of variable
LPCSTR is?
Any response is appreciated.