|
|
News Overview Download Order F.A.Q. More info Support Links Welcome QuickStart ActiveX Control C++ Wrapper J2K_Image open easyDecode selectTiles getMetaData decode close J2K_Frames open getFrames getFrame operators close API Reference General getVersion getLastError getErrorStr getLastErrorStr •Unlock Open / Close Open Close Info GetInfo GetInfoEx GetResolutions GetResDimensions GetMetaData Decoding EasyDecode SelectTiles Decode Cancel Debug StartLogging StopLogging |
J2K_Unlock Use this function to remove demo version restrictions of J2K-Codec. void J2K_Unlock(const char *key); Parameters key Your personal registration key. You can get it by purchasing J2K-Codec here: http://j2k-codec.com/order.html.
To evaluate the LITE version use J2K_Unlock("LITE"); Notes 1. You must keep your key in a secret place. Never distribute it! 2. Never store it in plain text inside your program - store at least XOR-ed version and unXOR it just before passing to J2K_Unlock(). 3. It is also a good idea to calculate CRC of j2k-codec.dll, before passing the key to it. (But remember that you will need to change CRC once DLL is updated). 4. Yes, we do understand that this is a weak protection. But locks are made for the honest people :) 5. And for dishonest people there is always a court of law. Example
char MyKey[]="sdklGS8DNFvjsBJ6dfD0gFNIMEr13Gbd"; Demo version restrictions |
| 2004-2008 © Alex Saveliev |