Article View: comp.lang.pascal.delphi.misc
Article #57Re: Help: Java/Delphi and Java/DDE Communication
From: William Orr
Date: Thu, 02 Aug 2001 11:16
Date: Thu, 02 Aug 2001 11:16
23 lines
2299 bytes
2299 bytes
Are the applications on the same machine? The simplest solution might be to use standard Windows messaging. You would have to write a JNI class for the Java application to use. It's effectively a dll which would send and respond to wm_user messages. You can find a Delphi translation of JNI at the project Jedi website. Lior Sharon wrote in message <6f098dfd.0108020116.70e3b138@posting.google.com>... >Hi, > > I'm trying to find a way to communicate (two-way method calls) >between two standard applications, one is written in Delphi and the >other in Java. > I suppose the standard way is to use COM objects, but does anyone >have a working sample or piece of code for doing this? > > Also, do you know if there's a way to communicate between Java and >other MS apps using the DDE protocol? > Maybe you have DDE-COM bridge or something like that? > > Thanks, > Lior.
Technical Details
Message-ID:
<9kbcsa$88n$1@nntp0.reith.bbc.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!join.news.pipex.net!pipex!cass.news.pipex.net!pipex!bbc!nntp0.reith.bbc.co.uk!not-for-mailReferences:
<6f098dfd.0108020116.70e3b138@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10baee,64568d302f3cef2e X-Google-Attributes: gid10baee,public X-Google-Thread: fd196,64568d302f3cef2e X-Google-Attributes: gidfd196,public X-Google-Thread: 107d5a,64568d302f3cef2e X-Google-Attributes: gid107d5a,public X-Google-ArrivalTime: 2001-08-02 04:19:43 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!join.news.pipex.net!pipex!cass.news.pipex.net!pipex!bbc!nntp0.reith.bbc.co.uk!not-for-mail From: "William Orr" <william.orr@bbc.co.uk> Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.oleautomation,borland.public.delphi.activex.controls.using Subject: Re: Help: Java/Delphi and Java/DDE Communication Date: Thu, 2 Aug 2001 12:16:34 +0100 Organization: British Broadcasting Corporation, UK Lines: 25 Message-ID: <9kbcsa$88n$1@nntp0.reith.bbc.co.uk> References: <6f098dfd.0108020116.70e3b138@posting.google.com> NNTP-Posting-Host: 172.20.22.57 X-Trace: nntp0.reith.bbc.co.uk 996751050 8471 172.20.22.57 (2 Aug 2001 11:17:30 GMT) X-Complaints-To: news@bbc.co.uk NNTP-Posting-Date: 2 Aug 2001 11:17:30 GMT X-BBC-Trace: MTcyLjIwLjIyLjU3LFdJTExJRVMtREVWLE9SUlc5MSxBUkVBNTE= X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Newsreader: Microsoft Outlook Express 4.72.3612.1700