This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, November 28, 2011 9:41:53 AM(UTC)
Groups: Registered
Posts: 5
I am working on converting an application from 14.5 to 17.5. The app is written in Delphi.
My questions regards the license file.
I have the following in my code:
<br><br>
pszLicenseFile := 'C:\LEADTOOLS...lic';<br>
pszDeveloperKey := '...';<br>
fLicenseReturn := L_SetLicenseFile(pszLicenseFile, pszDeveloperKey);<br><br>
If I leave these in the code, I will have to deploy the license file.<br>
If so, where should it go?<br>
If not, how do I change the code for distribution?
#2
Posted
:
Wednesday, November 30, 2011 9:15:51 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The license file does need to be deployed with the application in some fashion. It can be embedded into the exe and that would call for instead using L_SetLicenseBuffer( )
As per C++ it would look something like the example code in the following link:
http://leadtools.com/help/leadtools/v175/Main/API/Dllref/L_SetLicenseBuffer.htm
This was designed to deploy the license file and hardcode the developer key. A public key private key pair. The L_SetLicenseBuffer does allow a potential to load this without deploying the file.
#3
Posted
:
Wednesday, November 30, 2011 10:46:53 AM(UTC)
Groups: Registered
Posts: 5
I finally opened the file in notepad. I was afraid it was not a text file. I think I can handle it from here.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.