Tengo una Lib Estatica de BorlandC, la cual tiene unas funciones, que necesito pasar a xHarbour. Aqui las funciones.
- Code: Select all Expand view
- SP_STATUS status;
SP_DWORD DeveloperID;
SP_DWORD licID;
SP_DWORD flags;
SP_HANDLE licHandle;//Out param
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.
}
- Code: Select all Expand view
- SP_STATUS status;
SP_DEVICE_INFO deviceInfo;
SP_HANDLE licHandle;
status = SFNTGetDeviceInfo( licHandle,
&deviceInfo );
if (status != SP_SUCCESS) {
// If license is already released,
// then this API will return error.
}
- Code: Select all Expand view
- SP_STATUS status;
SP_DWORD featureID;
SP_BYTE value[256];
SP_DWORD length;
SP_DWORD licHandle;
status = SFNTReadString( licHandle,
featureID,
value,
length);
if (status != SP_SUCCESS) {
// If featureID is invalid, then this API will return error.
}
Gracias por su ayuda...