sangdukseo 0 Report post Posted September 17, 2005 Hey, i'm a newbie at c++. Is there anyway to access the windows system files through a c++ program? Kind of like running a command through dos. I could really use help here. Second question. How do you create a system tray icon in windows? can this be done in c++? i feel very dumb. please help me out. Share this post Link to post Share on other sites
switch 0 Report post Posted September 18, 2005 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 http://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: 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! Share this post Link to post Share on other sites
dul 0 Report post Posted October 4, 2005 Hi. this is very good class which makes system tray icon. Site is http://forums.xisto.com/no_longer_exists/ . Try this. Thanks. Share this post Link to post Share on other sites