Running a file
Well, i''m tring to make a program that arranges files so you can read them in an outline style format:
// example //
-Things I Like
+Computers
+TV
-Games
-Final Fantasy
-Oregon Trail
-Starcraft
But it also has to let you open the files and veiw them (either in windows or DOS) If anyone knows the command to run a DOS or Windows based program and / or how to send and get data from them please post here.
Thanks in advance,
Gandolf
Well, i hate to sound to newbie''ish here but could you tell me the paramaters ShellExecute() takes. I can''t find it in borland help and all code insite tells me is it takes a void *, an int and a bunch of const char *''s. (I really gotta buy a book ^_^)
Thanks,
Gandolf
Thanks,
Gandolf
When in Win32 doubt, go to MSDN. The prototype for ShellExecute() is:
HINSTANCE ShellExecute( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement