logo       

Re: VB6 events: msg#00025

windows.devel.jawin

Subject: Re: VB6 events

Hi Philip,
NewJawin supports only OLE Automation with event handling (including ActiveX
with GUI). The code of custom interface support (IUnknown) and static function
call was disabled. In NewJawin I tried to hide any COM specifics from Java
Programmer. All demos sources (VB6, .NET and WebStart included) are packed in
corresponding JARs. So you can unpack an example and run it in Debug Mode.
BTW I tested JACOZOOM and guess it can be also good for you.

Regards,
Vitaly Shelest
----- Original Message -----
From: Philip Chang
To: JAWIN@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, October 26, 2005 6:43 PM
Subject: Re: [JAWIN] VB6 events


Dear Stu and Vitally,

Can you tell me if the NewJawin 1.2.2 now supports ActiveX event handling?
The note below from 2002 said it was not supported.

If events are supported, are there demo/sample code included in the
download, or can you give me sample code here?

Thanks for all pointers!
Philip


On Tue, 5 Nov 2002 18:56:32 -0500, Stuart Halloway (DevelopMentor)
<stu@xxxxxxxxxxx> wrote:

>At present Jawin does not support events. The generator creates an
>interface for every interface it sees, but the plumbing is not there to
>do the underlying connection points.
>
>This is modest-sized and straightforward feature addition if anybody
>wants to take it on.
>
>Stu
>
>----------------------------------------------------------
>Stuart Halloway : staff.develop.com/halloway
>DevelopMentor : www.develop.com
>Essential Java : www.develop.com/courses/essjava
>----------------------------------------------------------
>
>-----Original Message-----
>From: Discussion of Java/Win32/COM integration with Jawin
>[mailto:JAWIN@xxxxxxxxxxxxxxxxxxx] On Behalf Of Bret Fulcher
>Sent: Tuesday, November 05, 2002 1:47 PM
>To: JAWIN@xxxxxxxxxxxxxxxxxxx
>Subject: [JAWIN] VB6 events
>
>All,
>
>I have recently found the need for using VB6 dlls from java. Jawin
>seems
>to address that need. The one big problem with Jawin that I've
>encounterd
>is the inability for Jawin to handle events from my VB6 dll. Has anyone
>had any experience in this area? Examples? It seems that Jawin is
>designed to handle the events. What makes me say so is that the Jawin
>Generator creates two .java files from my VB6 dll. One containing the
>properties and methods and one containing my event.
>
>Any help is appreciated
>Bret



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise