Jump to content
xisto Community
Sign in to follow this  
BoSZ

Running An Extenal File how to

Recommended Posts

hi guyzi fairly new to c++i started readnig a big book but it gonna take me a while to reach the last pageand i need to do a menu quite fast so could any one of You help me with this :P :i need to know whith action will run an external file using the the app assigned to it in the windows shell (sort of like the "run" command in used in dos)or a brief source code with a button fireing some file to use as a tutorial :D thanks in advance :P

Share this post


Link to post
Share on other sites

in php,try int dl ( string library)in c,try int system( const char *command );in WIN32 API,try 1HINSTANCE ShellExecute( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd);2UINT WinExec( LPCSTR lpCmdLine, // address of command line UINT uCmdShow // window style for new application);

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.