1. Computing

in TIPS ::
While there are ways to protect a Delphi application from misusage, there are situation when you want to have the weirdest protection available, but simple to implement.

Here's how to allow only one execution of your Delphi application per Windows session. A warning message appears if a user tries to execute more than once without restarting Windows.

Read the full tip to learn how to create a Windows session trial application ...

Related: Understanding Delphi Project's Source | Protect your Delphi Software | Decompiling Delphi Code

Comments
October 26, 2009 at 11:22 am
(1) iPa says:

Where is the corresponding GlobalDeleteAtom? :)

http://blog.delphi-jedi.net/2009/10/26/application-singleton/

October 26, 2009 at 11:53 am
(2) Zarko Gajic says:

@Ipa: thanks for pointing that out. I’ve added a link to your blog post (about mutexes over atoms).

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.