dev-c++
-
Hello, I´d appreciate it if anyone can tell me how to execute a dev-c++ program in the background as stand-alone. Kindest regards
Define "in the background," and "as stand-alone."
The difficult we do right away... ...the impossible takes slightly longer.
-
Hello, I´d appreciate it if anyone can tell me how to execute a dev-c++ program in the background as stand-alone. Kindest regards
RealHigh wrote:
background
Make it a windows service[^] (if you want it to run in multiple operating systems, you can always make the application run on an invisible window).
RealHigh wrote:
stand-alone
Not sure what you mean by stand-alone, could mean you don't want to bind to libraries, in which case, don't use libraries or make sure they're statically linked.
-
Define "in the background," and "as stand-alone."
The difficult we do right away... ...the impossible takes slightly longer.
That's pretty much what I answered, but made a couple of guesses... :laugh:
-
Hello, I´d appreciate it if anyone can tell me how to execute a dev-c++ program in the background as stand-alone. Kindest regards
If you are referring to Windows Services, here's a link[^] that might help you get started. Google will supply a whole lot more, though. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
-
Hello, I´d appreciate it if anyone can tell me how to execute a dev-c++ program in the background as stand-alone. Kindest regards
Are you referring to something like
WinExec()
, orCreateProcess()
?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
Define "in the background," and "as stand-alone."
The difficult we do right away... ...the impossible takes slightly longer.
Hi Richard, Sorry about that. What I mean is a program which only has to be executed once,and just runs all the time doing the work it`s supposed to. I´d thought of putting it into an endless loop using "while (condition which never happens)" >> run sort of thing, but that´s not ideal. Maybe you know a different more effective way? Thanks for answering so promplty.
-
Are you referring to something like
WinExec()
, orCreateProcess()
?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
Hi David, I know it´s pretty tiresome playing a game in which the other guy doesn´t know the rules. Truth is, I`m just trying to learn from this forum, which I think is very good, excellent. Now, my knowledge of c++ programming is rudimentary. Not a single person was born knowing all about it, and it´s really tough being bombarded with info which I don´t know how to use, yet. Anyway, thanks to all who answered.