MR>>> Is there any way I can pass WinExec a file pointer so that
MR>>> pbrush executes with a specific file loaded ?
jl>> Use ShellExecute();
MR> I Have tried ShellExecute(); But is comes up with an error, I have
MR> also looked for some help on it but can't seem to find any ?.
Does your compilers on-line help really say nothing about ShellExecute?
MR> Do I need to include a specific header file to use it ?.
shellapi.h
MR> what type and how many arguments do you pass to it ?.
HINSTANCE WINAPI ShellExecute(
HWND hwnd,
LPCSTR lpOperation,
LPCSTR lpFile,
LPCSTR lpParameters,
LPCSTR lpDirectory,
int iShowCmd);
// Albert email: jla@to.icl.fi
--- GoldED/2 2.50+
---------------
* Origin: Albert's Point/2 in Finland, Europe (2:221/360.20)
|