They can find each other because they are registered as an open application
window with a number or code assigned to it. In windows, it is generally
referred to as hWnd. That is the handle to the unique process/thread that
controls the window being displayed. Another windows program can search
through the list of open handles until it finds the one that has the correct
title or some other attribute it is looking for in order to interact with
it.
Of course, I'm just a flunky programmer, so I really wouldn't know all this.
John Brandt
iStudio400.com
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Tuesday, August 28, 2007 1:46 PM
To: Midrange Systems Technical Discussion
Subject: Re: EHLLAPI for dummies?
Urbanek, Marty wrote:
I don't think the external program finds a session so much as assumes
it is there. i.e. Before your EHLLAPI program runs, looking for
Session A, you already have a Session A emulator session active.
Otherwise, (I may be forgetting details here) your Connect
Presentation Space is not going to work.
Obviously, the session has got to be there in order to be found. But that
still doesn't explain how the EHLLAPI "Connect Presentation Space"
call manages to find it.
By analogy: If I have OpenOffice and Thunderbird open, I don't expect either
to be able to find the other, in order to interact with each other.
--
James H. H. Lampert
Touchtone Corporation
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007
6:20 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.10/976 - Release Date: 8/27/2007
6:20 PM
As an Amazon Associate we earn from qualifying purchases.