Re: Passing Interfaces from COM to Java
Roger I Martin PhD <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi Maxym, I don't get your error when running the TypeLibBrowser on mshtml.tlb and XP. We must have a version problem. Which version of Jawin are you attempting to use? --Roger ----- Original Message ----- From: "Roger I Martin PhD" <[email protected]> To: <[email protected]> Sent: Friday, July 02, 2004 4:37 PM Subject: Re: [JAWIN] Passing Interfaces from COM to Java > Hi, > > I'll test Jawin and mshtml.tlb (on my XP box) and get back to you. (If I > don't do it soon, it shortly will be a Fedora Core 2 Linux box:-) > > For the second part, Jawin is not the solution for you. Jawin is for people > who are not compiling C++ code at all( except for Jawin developers). > Robert, if you see this, do you have a solution for this case in the jSegue > project? > > --Roger > ----- Original Message ----- > From: "Maxym Mykhalchuk" <[email protected]> > To: <[email protected]> > Sent: Friday, July 02, 2004 2:52 PM > Subject: [JAWIN] Passing Interfaces from COM to Java > > > > 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