CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Posts
    4

    Using only one instance of an SDI application

    I developed an SDI application that I want the user to launch by clicking on the desired document file from My Computer (on 95/98/NT). Unfortunately, if the user clicks on another document file a new instance of the application is launched. How do I force the operating system to use the first instance of the application instead of launching a new instance?


  2. #2
    Join Date
    May 1999
    Posts
    40

    Re: Using only one instance of an SDI application

    There are 3 or 4 different ways to do this - look in the misc section of codeguru:

    http://codeguru.com/misc/index.shtml

    My favorite of the methods there is http://codeguru.com/misc/single_instance3.shtml

    Josh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured