View Single Post
  #4 (permalink)  
Old 10-02-2007, 02:52 PM
Put Claude Put Claude is offline
Knows the basics
 
Join Date: May 2007
Posts: 95
Default

Hi,

Yes, did get 2 instance on Acer 300 WM5...
Noticed it when my gps-program counted every 2 seconds, I quit the program and get the underlying second same program that counts now every second, so... for some reason, the system did not prevent a second instance at same time.

dz,
did not find that in helpfile: dzhw.GetWindowHandle("null", "Form Title")

Made a little WF.exe in C (window find) that checks if my application already is open, so yes, bring it to front, and cancel the second launch.
My solution: Start this little exe with the shell function as first line in my application...

Put Claude Belgium

Last edited by Put Claude : 10-02-2007 at 03:58 PM.
Reply With Quote