Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 847287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:45:30+00:00 2026-05-15T06:45:30+00:00

Many Windows apps (like Skype or MSN for instance) don’t let you start multiple

  • 0

Many Windows apps (like Skype or MSN for instance) don’t let you start multiple instances, rather trying to run it a 2nd time just leaves the existing version running.

Is this typically done in some simple way – the start-menu shortcut is a ‘wrapper’ app around the main app – or is there some registry magic you can do to delegate the problem to Windows itself?

Specifically dealing with Win32 here (unmanaged C++) but happy to hear more general solutions as long as they are workable on Windows XP or later.

EDIT: this seems the best duplicate.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:45:30+00:00Added an answer on May 15, 2026 at 6:45 am
    1. Named Mutex or similar OS-specfic named object. If it exists – app is running.
    2. Lock file somewhere (in temporary directory, etc – create it on program start, remove on program end). Linux software frequently operates this way (some programs store PID in lockfile), but it isn’t safe – if you suddenly lose power (electricity cut off), it is possible that lock file won’t be deleted.
    3. And you can always enum all running processes and try to find yourself.

    There could be more ways to do it, but those are the first ones I could think of.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are now so many ways to write windows apps, win32, MFC, ATL, .NET,
I want to launch games from my apps in Windows. Many of these games
I have a directory of many files in Windows Vista. I'd like in a
Possible Duplicate: ios5 new Notification Center issue Many apps have established a paradigm like
Applications made with Qt in C++ look like native apps on Windows, Linux, and
I like to portable-ise as many programs / apps as I can, so I
Many windows APIs take a pointer to a buffer and a size element but
Many Windows applications (games, web browsers, some editors, etc.) support fullscreen mode, in which
I dock the taskbar to the left, which causes many windows to open underneath
I have this custom JSlider, which will be used in many other forms/windows. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.