🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: I need help with shared memory!

#17877
From: John P. McGrath
Date: Tue, 15 Sep 1998 00:00
25 lines
1247 bytes
David Young <day@icis-inc.com> wrote:

> I need to interact with a third-party 'C' program via shared memory.
> I've been looking to see how to do this in several different JAVA books
> without success.  Does anyone know how to connect to a Win95/NT shared
> memory file?

There is nothing in Java that would specifically allow you to do this.  

It would require that you write some native (e.g. C/C++ code) that 
accesses the shared memory, then access it from your Java program using 
JNI (Java Native Interface)

It is possible that someone had already done this, but I have not heard 
of anything.  The best places to check would be:

	Gamelan	http://www.gamelan.com
	Jars		http://www.jars.com

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.106808ba4e70a8a198969f@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35FD7C8C.D82FBB1D@icis-inc.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,73f334445ac4d186
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: I need help with shared memory!
Date: 1998/09/15
Message-ID: <MPG.106808ba4e70a8a198969f@forums.inprise.com>
X-Deja-AN: 391302246
References: <35FD7C8C.D82FBB1D@icis-inc.com>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language