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.
ofstream a_file("example.bat", ios::trunc );
heh = ShellExecute(NULL, "open", "C:\\bc45\bin", "",