Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: project lic...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 18 Topic 5669 of 5937
Post > Topic >>

Re: project license

by Jean H <jghasban@[EMAIL PROTECTED] > Apr 23, 2008 at 02:42 PM

nata wrote:
> Hi gurus,
> 
> Anybody knows how to put a license in a IDL project ? I want to write
> a license for my project (only available for X days). Is it possible?
> 
> Thanks


You could create a license file with a large amount of random numbers 
and a few numbers at known position that hold the starting date of the 
license. Then, have your main program read this file, extract the date, 
and compare with today's date.  The good point is that you could 
automate the creation of this file in any language, including PHP, so no 
need to modify your code each time you want to give your program to
someone!

example:
license = fix(randomu(100,10000)*10)   ;0 to 9
license[51] = 2
license[489] = 3  ;day = 23
license[9851] = 0
license[3246] = 4 ;month = 04
license[921] = 2
license[8001] = 0
license[5675] = 0
license[4854] = 8 ;year = 2008

Now in your program, read only the specified indexes and voila! ... make 
sure that no ones finds the indexes you use!!!

Jean
 




 18 Posts in Topic:
project license
nata <bernat.puigdomen  2008-04-23 12:57:20 
Re: project license
David Fanning <news@[E  2008-04-23 14:20:34 
Re: project license
nata <bernat.puigdomen  2008-04-23 13:46:27 
Re: project license
David Fanning <news@[E  2008-04-23 14:54:57 
Re: project license
"R.G. Stockwell"  2008-04-23 15:34:54 
Re: project license
Jean H <jghasban@[EMAI  2008-04-23 15:25:24 
Re: project license
Jean H <jghasban@[EMAI  2008-04-23 14:42:53 
Re: project license
Bob Crawford <Snowman4  2008-04-23 14:09:12 
Re: project license
nata <bernat.puigdomen  2008-04-23 14:29:27 
Re: project license
nata <bernat.puigdomen  2008-04-23 14:54:38 
Re: project license
David Fanning <news@[E  2008-04-23 15:56:32 
Re: project license
b_gom@[EMAIL PROTECTED]   2008-04-23 15:57:09 
Re: project license
Vince Hradil <hradilv@  2008-04-24 06:35:20 
Re: project license
David Fanning <news@[E  2008-04-24 07:41:57 
Re: project license
David Fanning <news@[E  2008-04-24 07:47:37 
Re: project license
David Fanning <news@[E  2008-04-24 10:18:01 
Re: project license
b_gom@[EMAIL PROTECTED]   2008-04-24 10:24:58 
Re: project license
Reimar Bauer <R.Bauer@  2008-04-28 11:10:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:28:12 CDT 2008.