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. Limit number of instances of App

Limit number of instances of App

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
6 Posts 4 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.
  • K Offline
    K Offline
    Kamesh
    wrote on last edited by
    #1

    How to limit number if instances of an application in VC++. Thanks in advance Kamesh

    R D J 3 Replies Last reply
    0
    • K Kamesh

      How to limit number if instances of an application in VC++. Thanks in advance Kamesh

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      There are some articles here on CP about that. My prefered one is PJNaughter's. http://www.codeproject.com/cpp/csingleinst.asp?target=naughter[^] But better dwl the one from his website directly, it is up to date. ~RaGE();

      1 Reply Last reply
      0
      • K Kamesh

        How to limit number if instances of an application in VC++. Thanks in advance Kamesh

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

        In addition to the Naughter article, here is another resource: http://flounder.com/nomultiples.htm

        1 Reply Last reply
        0
        • K Kamesh

          How to limit number if instances of an application in VC++. Thanks in advance Kamesh

          J Offline
          J Offline
          John M Drescher
          wrote on last edited by
          #4

          Are you trying to limit to only one instance or do you want to limit to some other number? John

          K 1 Reply Last reply
          0
          • J John M Drescher

            Are you trying to limit to only one instance or do you want to limit to some other number? John

            K Offline
            K Offline
            Kamesh
            wrote on last edited by
            #5

            I would like to run only one instance of my application at anytime. With Thanks & Regards --Kamesh

            J 1 Reply Last reply
            0
            • K Kamesh

              I would like to run only one instance of my application at anytime. With Thanks & Regards --Kamesh

              J Offline
              J Offline
              John M Drescher
              wrote on last edited by
              #6

              There are many articles on this site that accomplish this: http://www.codeproject.com/threads/SimpleSingleInstanceApp.asp[^] http://www.codeproject.com/cpp/csingleinst.asp?target=instance[^] http://www.codeproject.com/useritems/single_instance_checker.asp?target=instance[^] http://www.codeproject.com/cpp/singletonapp.asp?target=instance[^] http://www.codeproject.com/useritems/Single_Instance.asp?target=instance[^] John

              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