Home Home

RegisterODBPP

RegisterODBPP allows any application to register ObjectDatabase++ and the information is accessible through GetLicenseInformation .

static unsigned int RegisterODBPP (
	const char16_t *registeredName,
	unsigned __int64 code1,
	unsigned __int64 code2
);

Parameters

registeredName The registered name from registration certificate.
code1 Code 1 from registration certificate.
code2 Code 2 from registration certificate.

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

  • ObjectDatabase++ will store these values so this function only needs to be called once by one application.
  • Example Use

    if(CODBPP::RegisterODBPP(_T"Your Registration Name",0x1234567890123456,0x1234567890123456) == NO_ERROR)
       MessageBox(_T"Registration has succeeded");
    

    Also See

    GetLicenseInformation

    Copyright © 2003-2008, Ekky Software Pty. Ltd.