Shared Memory between Java app and second, win32 app

Discussion in 'Java' started by Aaron Boxer, May 10, 2004.

  1. Aaron Boxer

    Aaron Boxer Guest

    Hello,

    Is there a way for a Java application to share memory with a second,
    Win32 application?

    Thanks,

    Aaron Boxer
     
    Aaron Boxer, May 10, 2004
    #1
    1. Advertising

  2. Aaron Boxer

    Chris Smith Guest

    Aaron Boxer wrote:
    > Is there a way for a Java application to share memory with a second,
    > Win32 application?


    No, or in any case, not a pure Java app. If you're open to JNI, the
    easiest way to accomplish this would be a direct-mapped NIO ByteBuffer.

    --
    www.designacourse.com
    The Easiest Way to Train Anyone... Anywhere.

    Chris Smith - Lead Software Developer/Technical Trainer
    MindIQ Corporation
     
    Chris Smith, May 10, 2004
    #2
    1. Advertising

  3. Aaron Boxer

    Roedy Green Guest

    On 10 May 2004 13:40:19 -0700, (Aaron Boxer) wrote
    or quoted :

    >Is there a way for a Java application to share memory with a second,
    >Win32 application?


    You would need to arrange the sharing via C and JNI.

    You could cook up a ramdrive and let them both read and write it with
    the file system methods.

    http://mindprod.com/jgloss/jni.html

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
     
    Roedy Green, May 10, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thomas Heller
    Replies:
    6
    Views:
    698
    Claudio Grondi
    Apr 9, 2005
  2. Blubaugh, David A.
    Replies:
    3
    Views:
    344
    Diez B. Roggisch
    Aug 27, 2008
  3. Blubaugh, David A.
    Replies:
    0
    Views:
    289
    Blubaugh, David A.
    Aug 26, 2008
  4. sintral
    Replies:
    9
    Views:
    4,341
    Ben Bacarisse
    Dec 7, 2008
  5. yelipolok
    Replies:
    4
    Views:
    264
    John W. Krahn
    Jan 27, 2010
Loading...

Share This Page