'Data type 'FcnPtr' does not exist

I use the cryptlex .dll library in junction with Matlab (2021a). When I load the library in Matlab, I get the error

Warning: The data type 'FcnPtr' used by function SetLicenseCallback does not exist. 
> In loadlibrary 
Warning: The data type 'FcnPtr' used by function CheckForReleaseUpdate does not exist. 
> In loadlibrary 

Is this a known issue?

Hi,

MATLAB doesn’t support C functions with function pointer parameters:

You should remove these functions from the LexActivator.h header file.

Regards,
Adnan

ah I see - thanks for the fast reply :slight_smile: