lol don't feel dumb, i've been doing c++ for a year and i don't have a clue how to make a system tray icon. my best guess at that you could find a tutorial at
www.codeproject.com.
[5 minutes later...] yep, the article is
here.
never tried it myself, but as a general rule 'the codeproject' is awesome.
as for running a command through dos, the win32 command 'system()' will run a command as if you are typing it into an MS-DOS prompt. for instance:
CODE
system("edit myFile.txt");
will quickly pop open a console window, run the command "edit myFile.txt" and then show the resultant MS-DOS text editor.
hope that was what you were after.
keep coding!
Reply