|
-
April 29th, 1999, 07:05 PM
#1
LPCSTR and WinExec()
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|