Mauro Russo wrote: > So when a copy of application starts, it checks in Database and read > the last Handle written. Then i thought it could check by some (which > one?) if that Handle is currently used.
If a window gets destroyed, the operating system is free to re-use a handle value. Window handles are really just addresses within an internal operating-system table, so once a window is removed from the table, the OS will use that slot for another window. What you need is covered in the comp.lang.pascal.delphi.misc mini-FAQ, question 2. http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm (The link isn't working right now, for some reason, so give it a few tries.) -- Rob ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

