AnsweredAssumed Answered

AW: vrf Program already running

Question asked by detlef.baranski on Oct 27, 2005
Other solution trial- shot from the knee to the neck....
By starting your application the first time look if a flag file is there.If
it is not, then store this flag-file . If you start it twice, you see that
it is still  there , so you know that your app was running before...

Best regards,
detlef

-----Ursprngliche Nachricht-----
Von: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Gesendet: Mittwoch, 26. Oktober 2005 12:45
An: VRF
Betreff: RE: [vrf] Program already running

> I believe I was the one asking for
> a method to allow determining if a
> program was already running - and
> I'm still interested in a solution.

Oh yeah. Ok, if I remember correctly process enumeration doesn't work
because the process is always veerun or cmd or command, and window
enumeration doesn't work because you don't know the window title or titles
could be duplicated. So I figured that what it boiled down to was getting
the command line of a foreign process. Ah yes it's all coming back to me
now.

I recently found a code injection library that seems to work a whole lot
better than the other one. I'm going to revisit this whole problem soon.
-SHAWN-



---
You are currently subscribed to vrf as: Detlef.Baranski@pilkington.de
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".


This message and any attachments are confidential, for the exclusive use of
the addressee and may be legally privileged. Any other distribution, use or
reproduction is unauthorised and prohibited. If you have received this
message in error, please notify the sender immediately and delete the
message from your system.
     Visit our internet site at http://www.pilkington.com

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes