Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. dev-c++

dev-c++

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RealHigh
    wrote on last edited by
    #1

    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

    A Richard Andrew x64R C D 4 Replies Last reply
    0
    • R RealHigh

      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

      A Offline
      A Offline
      Albert Holguin
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R RealHigh

        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

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        Define "in the background," and "as stand-alone."

        The difficult we do right away... ...the impossible takes slightly longer.

        A R 2 Replies Last reply
        0
        • Richard Andrew x64R Richard Andrew x64

          Define "in the background," and "as stand-alone."

          The difficult we do right away... ...the impossible takes slightly longer.

          A Offline
          A Offline
          Albert Holguin
          wrote on last edited by
          #4

          That's pretty much what I answered, but made a couple of guesses... :laugh:

          1 Reply Last reply
          0
          • R RealHigh

            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

            C Offline
            C Offline
            Chris Meech
            wrote on last edited by
            #5

            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]

            1 Reply Last reply
            0
            • R RealHigh

              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

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Are you referring to something like WinExec(), or CreateProcess()?

              "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

              R 1 Reply Last reply
              0
              • Richard Andrew x64R Richard Andrew x64

                Define "in the background," and "as stand-alone."

                The difficult we do right away... ...the impossible takes slightly longer.

                R Offline
                R Offline
                RealHigh
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                • D David Crow

                  Are you referring to something like WinExec(), or CreateProcess()?

                  "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

                  R Offline
                  R Offline
                  RealHigh
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups