Any questions? Ask us:




EP_RegCheckAndSaveKey function serves for verifying and saving the registration information. It combines couple functions EP_RegCheckKey and EP_RegSaveKey. If the registration information is valid for the current project, then it will be saved, otherwise the function fails.


  • Name - the registration name - a pointer to the null terminated ANSI string.
  • Key - the registration key - a pointer to the null terminated ANSI string.

Return Value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.


UNICODE Registration Scheme should be disabled at REGISTRATION FEATURES - Common panel.

The function fails in the following cases:

  • the registration information is incorrect;
  • an error ocurred while saving the registration information (it can occur due to the enabled protection from writing files to the drive or entries in the registry);
  • the application is not protected.


Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegCheckAndSaveKey( char* Name, char* Key );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition


Show/Hide Delphi function example

Show/Hide C++ function example

Show/Hide C# (.NET) function example

See function examples in the installation folder, Examples subfolder.