Article View: borland.public.cppbuilder.nativeapi
Article #6879Re: Sending and receiving custom messages between applications (code included)
From: Scott Morris
Date: Wed, 30 Mar 2005 17:42
Date: Wed, 30 Mar 2005 17:42
15 lines
1886 bytes
1886 bytes
> How can we pass a variable length of bytes between applications? You need to pick another IPC mechanism to support data that is not numeric (or cannot be stuffed into lparm or wparam). Examine the link I posted for more information on other communication options. You could also try something as simple as coordinated access to a shared file / directory. Again, I don't know your requirements so cannot make any accurate suggestions. Your first post suggested that speed was most important and implied that you needed to pass simple numeric data only. Your next post then indicated that you needed to pass data of variable size, which message sending cannot easily do (if at all - it would involve tricky memory allocation/access). You seem to have conflicting directions. Perhaps it would help to more fully examine the problem and identify a (more) complete set of requirements first.
Technical Details
Message-ID:
<424ae4e7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<424ab04c$1@newsgroups.borland.com> <424ad08d$1@newsgroups.borland.com> <424addb1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,775f7f4787da1067 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Scott Morris" <bogus@bogus.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <424ab04c$1@newsgroups.borland.com> <424ad08d$1@newsgroups.borland.com> <424addb1@newsgroups.borland.com> Subject: Re: Sending and receiving custom messages between applications (code included) Date: Wed, 30 Mar 2005 12:42:00 -0500 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 65.205.162.31 Message-ID: <424ae4e7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112204519 65.205.162.31 (30 Mar 2005 09:41:59 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail