Passing Interfaces from COM to Java
Maxym Mykhalchuk <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I'm new to this list, so let me thank all Jawin developers for their hard work in creating such a nice piece of software. Of course, if I would be just a simple happy user, I wouldn't bother you writing to this list, but there's a problem (even two), and I hope you may advise the solution. First of all, Jawin Type Browser (1.4 beta) cannot create Java stubs for mshtml.tlb (on my XP box): when I try to create a project with it, TypeBrowser just throws an exception "org.jawin.COMException: 80070057: null" Second problem is kind of trivial, but I couldn't find the solution anywhere, because everywhere in Jawin docs it's assumed that we create COM objects from Java. However, how can I pass an interface from the C++ code to Java code? (I mean, in my C++ code I create Java Virtual Machine, load my class into it, and I try to pass an interface from my C++ code to my Java code) Sincerely yours, Maxym Mykhalchuk __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail