Lock a launched application?
From: Anthoni Gardner (nono_at_nono.com)
Date: 10/28/03
- Next message: Ian Boyd: "Quickly selecting a popup menu item from the tray"
- Previous message: Kurt Barthelmess: "Re: Efficieny for TStringList"
- Next in thread: Rob Kennedy: "Re: Lock a launched application?"
- Reply: Rob Kennedy: "Re: Lock a launched application?"
- Reply: Mathias Rauen: "Re: Lock a launched application?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 00:11:39 -0000
Hello,
I am wanting to create a launch bed application for some people and one of
the specifics they have asked for is this.
1) They want to be able to only launch programs only from this application
and restrict all others and terminate them.
2) When an application is launched it needs to be locked so only 1 instance
is allowed and all others are denied.
I know you can run programs using the CreateProcess and that you can wait
until the application is finished (using WaitForSingleObject) but I am not
sure if this obtains an exclusive lock on the application exe itself and
thus preventing any more instances.
If anyone can shed some light onto this please, or point me in the right
direction I would be grateful.
Development = D7
Windows = 98 (probably), NT, 200X, XP
Regards
Anthoni
- Next message: Ian Boyd: "Quickly selecting a popup menu item from the tray"
- Previous message: Kurt Barthelmess: "Re: Efficieny for TStringList"
- Next in thread: Rob Kennedy: "Re: Lock a launched application?"
- Reply: Rob Kennedy: "Re: Lock a launched application?"
- Reply: Mathias Rauen: "Re: Lock a launched application?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|