🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #20053

Re: callbacks in java?

#20053
From: Brian Burton
Date: Fri, 07 Nov 1997 00:00
27 lines
1429 bytes
PS Custom Computer Applications, Inc. wrote:
> 
>  I'm pretty new to java and I was wondering if it is possible to pass
> a java function to a windows API call.  A callback.
> 
> Like doing a Windows message loop implemented entirely in java.
> Is this possible?  If so, are there any examples?
> 

Yuck!  As a great believer in the need for Java as a platform independent API I
don't see why anyone would want to do this :-)

But if you must, I suggest you check out JDirect from Microsoft.  It's allows
direct access to Win32 from Java using a set of native methods.  I think it on;y
works in Microsoft's VMs but I don't know that for sure.

Check out their web site for more info.
(http://www.microsoft.com/java/resource/jdirect.htm)

All the best,
++Brian

-- 
Brian Burton                        Custom Software Development
Burton Computer Corporation         Java, C++, Orbix, Tuxedo
http://www.burton-computer.com      OO Consulting and Mentoring
Technical Details
Message-ID: <346346D6.55AC801F@burton-computer.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <346225a5.16450664@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8a9005f7f390ab3
X-Google-Attributes: gidf74b3,public
From: Brian Burton <brian.burton@burton-computer.com>
Subject: Re: callbacks in java?
Date: 1997/11/07
Message-ID: <346346D6.55AC801F@burton-computer.com>
X-Deja-AN: 287714222
References: <346225a5.16450664@forums.borland.com>
Organization: Burton Computer Corporation
Newsgroups: borland.public.jbuilder.java.language