On 9/19/07, Blue Crystal <[EMAIL PROTECTED]> wrote: > thanks friend, i just used Dev C++, its working absolutely fine, > how can i execute this program (exe) through another program,....
I'd start with system() and go from there. > On 9/19/07, Brett McCoy <[EMAIL PROTECTED]> wrote: > > > > On 9/19/07, Blue Crystal <[EMAIL PROTECTED]<black.panthera%40gmail.com>> > > wrote: > > > > > i need a function that calls any windows application in C/C++ > > > program when i run my program, under windows Turbo C++ platform. > > > i could easily accomplish this task under Linux/Unix by using > > > system() function. but, how about in Windows OS. > > > > > > for instance, i need to open calculator (calc) or Windows Explorer > > > (explorer) > > > > You should look back through the posts from the last week or so, there > > was a long thread on opening and controlling applications in Windows. > > > > system() will work for basic things, though, if you are using standard C++ > > > > However, you will need to upgrade your compiler, Turbo C++ will not be > > able to open Windows programs and is very out of date. You should get > > a free compiler like Visual C++ Express or Dev-C++ (which uses a GNU > > toolset) to be able to open and control Windows applications from > > another Windows application (even if you are writing a console > > application, you can still use the Windows API). > > > > -- Brett > > ---------------------------------------------------------- > > "In the rhythm of music a secret is hidden; > > If I were to divulge it, it would overturn the world." > > -- Jelaleddin Rumi > > > > > > > > -- > Thank You, > The Clouds That Wander Through The > Sky Have No Roots, No Home; > Nor The Distinctive Thoughts Floating Through The Mind... > > > [Non-text portions of this message have been removed] > > > > To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. > Yahoo! Groups Links > > > > -- ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
