Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single instance

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32
Win32  
Author Message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Fri Jun 29, 2007 6:40 pm    Post subject: Single instance Reply with quote

RC: Don't forget to pass the current directory along with the command line to your single-instance program

"If you make a single-instance program, and somebody runs a second copy
of the program and passes a command line, the most common way of handling
this is to hand the command line to the first copy of the program and let
the first copy deal with it.

When you do this, don't forget about the current directory."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Mon Feb 16, 2009 12:35 am    Post subject: Reply with quote

so - How can I detect another instance of the same Win32 application
running on another workstation?


"It doesn't have to be bulletproof, if it is not possible (i.e. firewall) then the
application should just continue. And I don't want to make the user set up
some kind of central service to track the instances."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group