Results 1 to 4 of 4

Thread: creating a lock for an already compiled exe

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566

    creating a lock for an already compiled exe

    i need a way of making that exe shareware or limit its hours of playing or whatever.

    does ne1 have any ideas on how i could do that?
    Come and get our ISDN CallerID http://www.3wm.biz

  2. #2
    Registered User Virus00110's Avatar
    Join Date
    Jul 2002
    Location
    Williamsport, PA
    Posts
    290

    Smile

    You could have the program write to a file that would be stored somewhere on the users system that would keep track of how many times the user has 1) used the program or 2) based on a date. Then each time the program is ran it will check this file and compare it to something that you could write in the code or in another file. Also I would make it that if the file would be deleted that the program wouldn't run either. Hope this gives you a better idea and helps somewhat.



  3. #3
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    342
    ..or

    ..u can create a key in registry (say max. no of days) while installing ur application... and modify the key by decrementing each time the user runs your application...but make sure your application doesnt run when the key from the registry is deleted.
    ksm

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    didn't decide yet
    Posts
    566
    i have an already compiled exe file from someother person and i don't have the source for it so what are you suggesting how can be applied in my situation?
    Come and get our ISDN CallerID http://www.3wm.biz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width