Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: void main Pin
dreamerzz20-Apr-04 14:56
dreamerzz20-Apr-04 14:56 
GeneralRe: void main Pin
Larry J. Siddens15-Apr-04 5:49
Larry J. Siddens15-Apr-04 5:49 
GeneralRe: void main Pin
toxcct15-Apr-04 6:53
toxcct15-Apr-04 6:53 
GeneralRe: void main Pin
Nemanja Trifunovic15-Apr-04 8:14
Nemanja Trifunovic15-Apr-04 8:14 
GeneralRe: void main Pin
toxcct15-Apr-04 8:23
toxcct15-Apr-04 8:23 
GeneralISAPI Pin
Chernobog115-Apr-04 4:23
Chernobog115-Apr-04 4:23 
GeneralRe: ISAPI Pin
basementman15-Apr-04 5:31
basementman15-Apr-04 5:31 
GeneralRestricting file opening with Only one instance of application like Acrobat Reader Pin
Adi Narayana15-Apr-04 4:21
Adi Narayana15-Apr-04 4:21 
here is a query/problem that I am facing in my work:

We are developing an Windows application. The application is associated with a particular file extension - ".scm" wherein we can open a .scm file in the application either by launching the application and opening the file from File Menu or directly double clicking the .scm file. The app supports multiple document interface.

When user double clicks a .scm file, an instance of the application is started, file name is passed as command line parameter to it and it is opened in the App. Now the problem is every time when user double clicks a file, new instance of the application gets started. If an instance of the application is already running, instead of starting another instance, I want to use the same instance to open the file. In short I want to pass the control to the existing instance of the application.

If anyone has done this or has an idea about how to do this, can u please help me out.

Adi
GeneralRe: Restring file opening with Only one instance of application like Acrobat Reader Pin
basementman15-Apr-04 4:25
basementman15-Apr-04 4:25 
GeneralRe: Restring file opening with Only one instance of application like Acrobat Reader Pin
Adi Narayana15-Apr-04 4:37
Adi Narayana15-Apr-04 4:37 
GeneralRe: Restring file opening with Only one instance of application like Acrobat Reader Pin
vcplusplus15-Apr-04 5:40
vcplusplus15-Apr-04 5:40 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
David Crow15-Apr-04 7:09
David Crow15-Apr-04 7:09 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
Joel Lucsy16-Apr-04 3:32
Joel Lucsy16-Apr-04 3:32 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
Adi Narayana19-Apr-04 3:54
Adi Narayana19-Apr-04 3:54 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
Joel Lucsy19-Apr-04 7:11
Joel Lucsy19-Apr-04 7:11 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
Blake Miller19-Apr-04 9:03
Blake Miller19-Apr-04 9:03 
GeneralRe: Restricting file opening with Only one instance of application like Acrobat Reader Pin
Joel Lucsy19-Apr-04 9:10
Joel Lucsy19-Apr-04 9:10 
Generaltemplate problem & remove_if Pin
Anonymous15-Apr-04 4:11
Anonymous15-Apr-04 4:11 
GeneralRe: template problem & remove_if Pin
antlers15-Apr-04 11:32
antlers15-Apr-04 11:32 
GeneralRe: template problem & remove_if Pin
Anonymous15-Apr-04 22:18
Anonymous15-Apr-04 22:18 
GeneralActiveX Control Pin
roadragedave15-Apr-04 3:39
roadragedave15-Apr-04 3:39 
GeneralRe: ActiveX Control Pin
Cedric Moonen15-Apr-04 3:52
Cedric Moonen15-Apr-04 3:52 
GeneralRe: ActiveX Control Pin
roadragedave15-Apr-04 4:30
roadragedave15-Apr-04 4:30 
GeneralDevice context problems Pin
mikewithersone15-Apr-04 3:34
mikewithersone15-Apr-04 3:34 
GeneralRe: Device context problems Pin
PJ Arends15-Apr-04 6:05
professionalPJ Arends15-Apr-04 6:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.