Author Topic: Lisp experation  (Read 6376 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Lisp experation
« Reply #15 on: April 20, 2006, 09:28:01 AM »
This may be over the top.
How about writhing to the registry, like this.
When the program starts it looks for a data file and a registry entry.
If not found it ask for the key code with DEMO as a default.
Write the encoded word plus today date and the number of records in a
data file. Assuming your routine adds records to this data file.
Also update a data file with a flag that the countdown has started.
This way if the registry entry has been deleted the data file will alert
the routine of that fact. "Error, Registry damaged" and quit.
If there is a registry record and the data file is missing the routine will not continue.
When the expiration date is reached or the maximum number of new records is
reached the registry is updated with expired flag. Game over.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Lisp experation
« Reply #16 on: April 20, 2006, 11:30:49 AM »
That sounds great, I could use that in some of my programs.  So how would we go about setting that up?
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Lisp experation
« Reply #17 on: April 20, 2006, 11:55:09 AM »
OH, I'm just the idea man. 8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

whdjr

  • Guest
Re: Lisp experation
« Reply #18 on: April 20, 2006, 03:50:50 PM »
Hey...I thought I was the idea man and you were the one to expand the code... :lmao:

Sounds kinda cool CAB!

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Lisp experation
« Reply #19 on: April 20, 2006, 05:35:00 PM »
 :evil:
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Re: Lisp experation
« Reply #20 on: April 20, 2006, 05:56:02 PM »
The Reg does just fine but a file can be alot easier to use.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

LE

  • Guest
Re: Lisp experation
« Reply #21 on: April 20, 2006, 06:57:06 PM »
I have no idea if still is around the control activelock [activex - VB - free], that can be use in visual lisp applications, to generate trial versions of your software.

HTH.

vinnyg

  • Guest
Re: Lisp experation
« Reply #22 on: May 03, 2006, 08:49:51 AM »
Hey, PitchBlack98

You got it to work?  I'm still confused but only because I'm not
experienced enough to figure it out like you. Could you post this routine
with a small lisp included so I can see for myself how it works in
actual practice and maybe learn how to write and merge different codes
by looking at it.

thanks,

vinnyg

SPDCad

  • Bull Frog
  • Posts: 453
Re: Lisp experation
« Reply #23 on: May 03, 2006, 12:26:43 PM »
I use a straight counter. 30 uses of the programme and then the nag message kicks in. After 50 uses the programme stops running.
I have written the trial code for a client of mine who conveniently forgets to pay me, until the programme stops working.
A date clock trial can be easily hacked by reseting the date on your computer.  ;-)
AutoCAD 2010, w/ OpenDCL

visit: http://reachme.at/spd_designs

Crank

  • Water Moccasin
  • Posts: 1503
Re: Lisp experation
« Reply #24 on: May 06, 2006, 06:18:56 AM »
... unless you create a registry flag and stop working if that flag is present.
Vault Professional 2023     +     AEC Collection

Amsterdammed

  • Guest
Re: Lisp experation
« Reply #25 on: May 06, 2006, 09:14:20 PM »
Chrank,
I set an setenv with the first time the code is loading and every time IT runs till the enddate, I if the computertime is earlier than it already was the code also quits.

Bernd

PitchBlack98

  • Guest
Re: Lisp experation
« Reply #26 on: November 20, 2006, 12:49:26 PM »
I wanted to update this thread...

This bit of code doesnt work in AutoCAD 06 or 07 for me. It seems it can't find the date and errors the entire lisp even if it should still run.