How To Converting Between IEnumVARIANT and java.util.Enumeration (169764)
The information in this article applies to:
- Microsoft Visual J++ 1.0, when used with:
- Microsoft Visual J++ 1.1, when used with:
- Microsoft virtual machine
This article was previously published under Q169764 SUMMARY
IEnumVARIANT is the COM interfaced used by Automation Collection objects. A
COM object that supports the IEnumVARIANT interface is returned by a call
to the get_NewEnum method of the Automation object that implements the
collection. Due to the nature of type mapping between Java and COM,
controlling an IEnumVARIANT interface can sometimes be difficult.
The code in the MORE INFORMATION section can be used to wrap the Java
standard java.util.Enumeration interface around an IEnumVARIANT COM
interface.
The VarEnumeration class benefits any programmer dealing with Active Server
Pages (ASP) cookies and forms, Microsoft Office, or any Automation objects
that have collections.
REFERENCES
Win32 SDK Documentation
For the latest Knowledge Base articles and other support information on
Visual J++ and the SDK for Java, see the following page on the Microsoft
Technical Support site:
(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by
Gregory W. Singleton, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 8/25/2005 |
---|
Keywords: | kbcode kbhowto KB169764 |
---|
|