about COM _Enums

ken Wang <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
Hi all,

     I encounter problem about how to map COM _Enums
to
Java Enumerations.
     My java stub codes for a dll are generated by
JawinTypeBrowser.
     Please have a look following code:

    public IUnknown get_NewEnum() throws COMException
    {
         return (IUnknown)get("_NewEnum");
    }

    I have no idea how to use this 'IUnknown',
actually
I expect this method will return a type of java
Enumerations.
    I am not family with COM _Enums, anyone pls give
me
a help, thanks a lot!

Best regards,
Ken

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.