Article ID: 215353 - Last Review: June 14, 2006 - Revision: 2.0 FIX: Licensing Problems in Third-Party ActiveX Controls with VJ6This article was previously published under Q215353 On This PageSYMPTOMS
When you try to dynamically create a third-party ActiveX control built with Visual J++ 6.0, the following error message appears:
The evaluation period will expire in xx day(s).
CAUSE
When you implement some third-party ActiveX controls, the control assumes that the control should run in an evaluation mode if no software license exists on the current computer. This conflicts with the current Windows Foundation Classes for Java (WFC) logic. The current Windows Foundation Classes for Java (WFC) logic retrieves a license for the control through resource information that is included with the control. If the control does not have a license registered on the specific computer, the retrieved license in Windows Foundation Classes for Java (WFC) is used during the execution of the application. However, during the check for a registered machine license some controls go one step further and automatically assume an evaluation mode instead of waiting for the license to be passed. NOTE: These same controls do not exhibit this problem when you use Visual Basic because the license that is initially retrieved is always used and it does not check for a registered machine license. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
http://www.microsoft.com/java
(http://www.microsoft.com/java)
| Article Translations
|
Back to the top
