Yes, that was one sort of thing I was thinking of. The scheme you mentioned appeals greatly because of its simplicity - applies to licencing up to a fixed licenced number of concurrent users. I didn't know there was a way to lock one byte - how do you do that??
I was more leaning to licencing it per screen installed - it can be more costly for the users but as the app is likely to be running much of the day that is academic in this case. John -----Original Message----- From: Neven MacEwan [mailto:[EMAIL PROTECTED] Sent: Saturday, 29 April 2006 1:14 p.m. To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Licencing schemes John I always liked the idea of a .lic file, your app attempts to exclusivlely open a 1 byte block until it suceeds and keeps the block locked whilst running, This way a 10 byte file would allow for 10 users, if the system crashes then the system is self-fixing, no messy unlock procedures, also the name of the lic file can be a hash with the size (stop some smartass hacking it with notepad) if no lic file is found demo mode is used, if it fails to open a block in the lic file, 'out of users' error HTH N John Bird wrote: > I am putting some licencing code into some programs, common sort of > scheme where the program runs in a demo mode, but if has been > registered switches to full mode. > > My preference is for licencing information to be stored only in one > central shared file on a server, nothing in pc registrys, so that when > a pc is upgraded or replaced there is no reinstallation needed. > > I think I can do a simple and pretty foolproof scheme based on this > > What do others use? > > (I would only use another scheme if it was not using registry stuff as > I want centralised administration) > > > John > > _______________________________________________ > Delphi mailing list > [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi > > -- Neven MacEwan (B.E. E&E) Ph. 09 620 1356 Mob. 027 4749 062 New Address Details =================== MWK Computer Systems 1 Taumata Rd Sandringham Auckland Ph 620 1356 Fx 620 1336 __________ NOD32 1.1461 (20060329) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
