Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
virtualBOOLVerifyLicenseKey(BSTRbstrKey**);**
Return Value
Nonzero if the run-time license is valid; otherwise 0.
Parameters
bstrKey
A BSTR storing the container’s version of the license string.
Remarks
This function verifies that the container is licensed to use the OLE control. The default version calls GetLicenseKey to get a copy of the control’s license string and compares it with the string in bstrKey. If the two strings match, the function returns a nonzero value; otherwise it returns 0.
You can override this function to provide customized verification of the license.
The function VerifyUserLicense verifies the design-time license.
COleObjectFactory Overview | Class Members | Hierarchy Chart
See Also COleObjectFactory::VerifyUserLicense, COleObjectFactory::GetLicenseKey