473,473 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Executing, Copying, and other tasks in C++

Hello, after a recent move to windows API from terminal I come across
a small problem. How can I execute a program without using stdlib.h ?
Before I would use stdlib.h by using a command such as
system("myprogram.exe");
to execute a program. When using windows API the terminal window pops
up and carries out the command in the terminal. This looks ugly, and I
am looking for an alternative to executing a program without the use
of terminal commands.

Thanks, this will be extremely useful for my transition.
Jul 19 '05 #1
2 1910
Erhan wrote:
Hello, after a recent move to windows API from terminal I come across


Sorry, you need to find a Window programming newsgroup for this. That link
might help:

http://www.slack.net/~shiva/welcome.txt

--
WW aka Attila
Jul 19 '05 #2
"Erhan" <er*****@hotmail.com> wrote in message
news:9d**************************@posting.google.c om...
Hello, after a recent move to windows API from terminal I come across
a small problem. How can I execute a program without using stdlib.h ?
With ISO standard C++ (the only topic here), that's
the only way.
Before I would use stdlib.h by using a command such as
system("myprogram.exe");
Right.
to execute a program. When using windows API the terminal window pops
up and carries out the command in the terminal. This looks ugly, and I
am looking for an alternative to executing a program without the use
of terminal commands.


The Windows API does offer more flexible, Windows-oriented
ways of spawning and executing a one program from another,
but the Windows API (or any other platform-specific feature
or tool) is not topical here. I think you can find all the
answers you need at www.msdn.microsoft.com and/or one or more
of the many Windows-specific newsgroups which are cited there.

The MDSN site can appear rather formidable to the first time
visitor, but imo it's worthwhile to persevere until one can
learn his way around there. There's a *huge* amount of good
Windows programming info there.
Good luck!
-Mike
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dariusz Tomoñ | last post by:
Hello Quick question: how can I execute Windows command (like deleting liles from server) via ASP? best regards D.T.
13
by: BK | last post by:
Can someone point me to a code sample that illustrates executing long running tasks (asynchronous) from a web application in ASP.NET? I assume that Web Services might come into play at some point,...
8
by: alanstew | last post by:
With the body tag calling out 'window onload', a function with a 'window.open' fails at the 'window.open' line. If I cut out the body tag, the function executes as normal. At first I thought it...
15
by: (Pete Cresswell) | last post by:
I've got a .BAT file that I use for executing various MS Access apps that I wrote way back in the days of 2.0. It's evolved over time, but it still contains a number of possible paths to...
3
by: Peter Strøiman | last post by:
Hi. I have a web application that needs to run tasks at regular intervals. E.g. it must send out emails every night to people who subscribe to that service. I have come up with one solution,...
8
by: Good Man | last post by:
Hi there I was wondering if someone could help me out with the following two situations. In a lot of my web apps, it seems that if i launch a PHP script that takes a long time to complete,...
2
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
I am executing an AJAX page method that is a long running task. After starting the first method, I execute a second page method to retrieve the status of the task. It works fine in an empty web...
0
by: AmyHanson | last post by:
I am new to mobile development and am having some trouble sources for the tasks I need to perform. I have been looking around and I can find plenty of information on copying the file initiating on...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.