Hello (English isn't my first idiom. Please, excuse me the indian-like-speak)
Probably, when the app is open, the .exe file is locked by the file-system and you can't delete or modify it. Well, this can or cannot occur because computers are made by esoteric sciences ;-p My sugestion is to use an app loader that verifies the environment conditions and then call the main app or delete the .exe. Of course, the main app need to be loaded only by the app loader. To do this, use paramstr as a "password" between loader and main app. I hope it was helpfull. 2009/10/28 Héctor Fiandor Rosario <[email protected]>: > Dear coleagues: > > I have an application with a security unit that count how many instance the > user use the application. > > when the user try to use the app. if some requierements are not fulfitness > the app. is not ejecuted, go to the Final form and is closed. > > I want to destroy the .exe file. Is this possible? > > thanks in advance > > yours truly, > > Ing. Héctor F. Fiandor > [email protected] > > -- > > Este mensaje le ha llegado mediante el servicio de correo electronico que > ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema > Nacional de Salud. La persona que envia este correo asume el compromiso de > usar el servicio a tales fines y cumplir con las regulaciones establecidas > > Infomed: http://www.sld.cu/ > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Timeo hominem unius libri Cogito ergo sum - Carpe diem []s Guionardo Furlan http://guionardo.blogspot.com http://www.guionardofurlan.com.br -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
