home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!wupost!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!sungate.fido.de!p1.hippo.fido.de!eurologic.fido.de!Martin_Schloeter
- Date: Wed, 2 Sep 92 10:06:59 +0200
- From: Martin_Schloeter@eurologic.fido.de (Martin Schloeter)
- Subject: Re: NT, 3.1, and Global Memory
- Message-ID: <199bb4a9@p3.f67.n245.z2.fidonet.org>
- Newsgroups: comp.os.ms-windows.programmer.win32
- X-Comment-To: (Robert Baruch)
- Organization: Die ersten 100.000 Jahre...
- Lines: 26
-
- RB> After reading countless paragraphs on how Windows supports only
- RB> a few means of data transfer between applications, I have come to
- RB> the conclusion that if I didn't want to use DDE, I could use a DLL,
- RB> and GlobalAlloc memory which could then be shared between
- RB> all the applications using that DLL.
- RB>
- RB> My questions are:
- RB>
- RB> (1) If I GlobalAlloc in the DLL, and get a handle using one application,
- RB> then another application accesses this handle, will I get the data
- RB> from
- RB> the first application UNDER WINDOWS NT? I know that it works
- RB> under Windows 3.1.
- Under 3.1 it works only with memory with the attribute GMEM_DDESHARE!
- Regarding the existing informations it will definitly _not_ work with NT. The
- API calls DDEPostMessage and similiar do some magic, which allows to transfer
- data between NT apps. Simple DDEShare-memory will not work.
- RB> (2) Are global variables declared in a DLL shareable between
- RB> applications under Windows NT? Again, I know it works under 3.1
- No.
- RB> (3) If a DLL enters a message loop on behalf of an application, will
- RB> that message loop receive messages posted to the application
- RB> properly under NT? Once again, it works under 3.1.
- Don't know, have to test it.
-
- Martin
-