alternative to system()

Started by
10 comments, last by CProgrammer 20 years, 9 months ago
I was thinking more in the way of the app to be called should do this with every file it opens (this applies of course only if you can change the code).
Otherwise try to set the path you get from GetModuleHandle() (sorry, my mistake before) as the 5th parameter of ShellExecute
(which should set the current working directory for the app).

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Advertisement
Ok, thanks for everything.

-CProgrammer

This topic is closed to new replies.

Advertisement