Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, November 28, 2011 9:41:53 AM(UTC)

kbailey  
kbailey

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?

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, November 30, 2011 9:15:51 AM(UTC)

Danny H  
Guest

Groups: Guests
Posts: 3,028

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)

kbailey  
kbailey

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.051 seconds.