Hi
I am having probs trying to code ShellExecute can anyone show me where I am going wrong. I have pasted offending code below. Thanx for your help.
Shaman
ofstream a_file("example.bat", ios::trunc );
a_file<<s;
a_file.close();
HINSTANCE heh;
heh = ShellExecute(NULL, "open", "C:\\bc45\bin", "",
"c:\\bc45\bin\example.bat", SW_SHOW);