Declaration
procedure IEVisionSetSerialNumber(const sUserEmail, sUserSerial: WideString);
Description
Pass your serial number to the
IEVision DLL so it does not run in trial mode.
You must call IEVisionSetSerialNumber once in your application before using any IEVision methods, including
IEVisionAvailable, e.g. in the FormCreate constructor of your main application.
You can pass both values as '' to run in trial mode.
Note: You can use
RegisterPlugIns as an alternative to
IEVisionSetSerialNumber and
IEVisionAvailable. See example below...
IEVisionSetSerialNumber( 'me@mycompany.com', 'ievis-12345-67890-12345-67890-12345-67890' );
if not IEVisionAvailable() then
begin
ShowMessage( 'This application requires the ievision.dll plug-in, v' + IEGlobalSettings().ImageEnVersion.IELibVersionStr +'. Please download it from www.imageen.com' );
exit;
end;
// Now use IEVision...
// Note: This is the same as calling:
IEGlobalSettings().RegisterPlugIns( [iepiIEVision], 'me@mycompany.com', 'ievis-12345-67890-12345-67890-12345-67890' );
if not ( iepiIEVision in IEGlobalSettings().ActivePlugIns ) then
begin
ShowMessage( 'This application requires the ievision.dll plug-in, v' + IEGlobalSettings().ImageEnVersion.IELibVersionStr +'. Please download it from www.imageen.com' );
exit;
end;
// Now use IEVision...
See Also
◼IEVisionAvailable◼RegisterPlugIns◼ImageEnVersion.IELibVersionStr◼LoadSerialFromRegistry