🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14919

Re: How to integrate two programms running in different applications

#14919
From: Ed Mulroy [TeamB]
Date: Sun, 27 Jul 2003 02:59
22 lines
2095 bytes
To communicate between programs you could use FindWindow to find the GUI
program's window and send some data to it with the WM_COPYDATA message.
Other ways you could do it are to use an unnamed pipe or a memory mapped
file.  I favor the memory mapped file.  WM_COPYDATA, pipes and memory mapped
files are covered in the Windows help files.

However I do not understand why you would have a second program just to open
a console.  A GUI program can open a console.

.  Ed

> umar kazi wrote in message
> news:3f22eb81$1@newsgroups.borland.com...
>
> I have two programmes, both in C++ Builder 4and both runninn
> on same PC.One is applications based and other is Win32
> Console Application.Actually i have to read input port which i have
> done in Win32 Console Application, and then after satisfying
> some conditions i have to generate some graphical display,which
> has been done in form based application.  Now I have to call my
>  graphical display while being in Win32 Console, could you
> please help me in this regard, how can  this be done in easiest way.
Technical Details
Message-ID: <3f234035$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f22eb81$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b2f43e5bcd2282bd
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-26 20:09:24 PST
From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f22eb81$1@newsgroups.borland.com>
Subject: Re: How  to integrate two programms running in different applications
Date: Sat, 26 Jul 2003 22:59:48 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <3f234035$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059274805 24.74.175.102 (26 Jul 2003 20:00:05 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail