10-12-2010 09:48 AM
Hello,
I'm using TPLA toolkit to protect an application.
Getting status and activating license works fine but I miss the return of the days before expiration in case of "evalution/demo" mode.
KEYLIB32.dll PP_Daysleft() function return this value. Is it plan to add this function to TPLA toolkit (maybe in GetLicenseStatus.vi ) ?
Thanks,
Olivier
10-13-2010 10:03 AM
One other thing missing , retrieve expiration date (soft and hard).
It could be useful to distribute full featured beta application with automatic deactivation at define date. Be able to display expiration date from license file in a splash screen would be great.
Thanks,
Olivier
01-12-2011 10:38 AM
Hello,
is this tread has been hide to readers or there is no plan to a short term TPLA toolkit update with these features ?
Thanks
Olivier
01-13-2011 10:59 AM
Hey Olivier! Sorry for the late response. We didn't have plans to update the toolkit with these features, but we will definitely reevaluate that now. I believe most of these are available through Concept Software's DLL, but I am not sure yet.
01-13-2011 11:09 AM
Olivier,
Like Chris said, there were no existing plans to add this to the toolkit.
As you mentioned in your opening post, those functions could be dropped as Call Library Nodes on your block diagram, pointing to KeyLib32.dll (in the resource directory). I would suggest wrapping them in SubVIs with the error wire paradigm to make sure they fit into your product development nicely. Please let us know if you require any assistance with this. You will need to set the calling convention of the CLN to "stdcall" from the LabVIEW default of "C".
We will keep you updated if we decide to provide our own wrapped versions of these functions in the future.
Thanks!
-Sohum.
01-14-2011 11:14 AM
I've wrapped KeyLib32.dll using import shared library LabVIEW feature. All function are wrappped.
I've just test pp lfopen, pp lfclose, pp lfdaysleft and pp getvarnum. tt's working fine for my needs.
NB : dll's errors are reported in the error cluster
You'll find the wrapper in attachement (needs LV2009 and TPLA toolkit).
Regards,
Olivier
01-17-2011 11:52 AM
If you don't mind, I'd like to know which functions you end up using/needing. That would help us prioritize any work on wrapped calls in the toolkit.
01-18-2011 03:16 AM
Hi Chris,
Actually, main needs (state and activation) are covered by TPLA.
But, as you are able to check and activate you can't display number of days remaining in demo mode. This data could be retrieve by the actual "Get License Status" function.
To go further into functions (regarding the Software Key Licensing features) that can be interesting to add to TPLA toolkit, I think about the following :
With these, I think we can cover 95% of needs to protect an app on a local system.
Protection Plus has ability to manage license over LAN, but this is not in my focus now, also I don't have opinion about what functions could be useful to wrapped.
Regards,
Olivier