home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / win32 / 757 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!europa.asd.contel.com!news.ans.net!nynexst.com!gallifrey!baruch
  3. From: baruch@nynexst.com (Robert Baruch)
  4. Subject: NT, 3.1, and Global Memory
  5. Message-ID: <1992Sep1.130950.20064@nynexst.com>
  6. Keywords: global memory
  7. Sender: baruch@gallifrey (Robert Baruch)
  8. Organization: NYNEX Science & Technology, Inc.
  9. Date: Tue, 1 Sep 92 13:09:50 GMT
  10. Lines: 22
  11.  
  12. After reading countless paragraphs on how Windows supports only 
  13. a few means of data transfer between applications, I have come to
  14. the conclusion that if I didn't want to use DDE, I could use a DLL,
  15. and GlobalAlloc memory which could then be shared between
  16. all the applications using that DLL.
  17.  
  18. My questions are:
  19.  
  20. (1)  If I GlobalAlloc in the DLL, and get a handle using one application,
  21.      then another application accesses this handle, will I get the data from
  22.      the first application UNDER WINDOWS NT?  I know that it works
  23.     under Windows 3.1.
  24.  
  25. (2)  Are global variables declared in a DLL shareable between
  26.      applications under Windows NT?  Again, I know it works under 3.1
  27.  
  28. (3)  If a DLL enters a message loop on behalf of an application, will
  29.      that message loop receive messages posted to the application
  30.      properly under NT?  Once again, it works under 3.1.
  31.  
  32. --Rob
  33.  
  34.