Consultor Eletrônico



Kbase P234: ActiveX: Licence file error: ANSI vs UNICODE
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/08/2003
Status: Unverified

SYMPTOM(s):

Error: The license file for the specified ActiveX control was not found.
Error occurred in procedure: <procedure name> (6078)

CAUSE:

It is possible that the ActiveX Control is using ANSI formatted strings internally instead of the normal UNICODE. Specifically, when you drop an ActiveX Control onto a window in the UIB we ask the ActiveX Control to give us its design time and run time keys (i.e. keys that say that you are authorized to use the ActiveX Control at design time and/or run time). If the vendor of the ActiveX Control used ANSI strings instead of UNICODE strings (i.e. they did not use the BSTR data type in their code) it is possible that our requests will fail and cause us to believe that you are not authorized to use the ActiveX Control in whatever manner you are trying to use it.

FIX:

Check with the manufacturer of the ActiveX control and verify whether this is what is happening. If the manufacturer is doing this, the correct resolution to the problem is for the manufacturer to change their controls to conform to the standards.