12-16-2009 07:55 AM
Hi,
I am trying to use the sentinel hardware key by way of a labVIEW VI. I have created the attached code.
The problem arises as the result returns all zero's or all 202's. I spoke with a representative and they informed me that a zero is a good result and 202 is bad.
It seeems to vary between these two results.
Does anyone know where I have gone wrong with my code? Should I keep submitting the other non secret key parameters on each round? Is the data formatted ok?
I've really hit a brick wall!
Thanks,
Sean
12-16-2009 09:36 AM
12-16-2009 11:26 AM
Hi Jeff,
I tried attaching the dll previously but it's not allowed.
I've attached some headers here and here's some more info:
Business Layer API - Quick Reference
❑SFNTSetContactServer - Sets the Sentinel Keys Server to be contacted for obtaining a license.
❑SFNTGetLicense - Obtains a license from the Sentinel Key having required developer ID and license ID.
C API function syntax
unsigned long int status;
unsigned long int DeveloperID;
unsigned long int licID;
unsigned long int flags;
status = SFNTGetLicense( DeveloperID,
SOFTWARE_KEY,
licID,
flags,
&licHandle );
if (status != SP_SUCCESS) {
// If a key with the requested developer ID and License ID
// is not found or a valid license is not available,
// then SFNTGetLicense will return an error.
}
12-17-2009 02:17 AM