Article ID: 215353 - View products that this article applies to.
This article was previously published under Q215353
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).
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.
Microsoft 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:
(http://support.microsoft.com/kb/194022/EN-US/ )INFO: Visual Studio 6.0 Service Packs, What, Where, Why
(http://support.microsoft.com/kb/194295/EN-US/ )HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
Steps to Reproduce Behavior
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site: