Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!nwnexus!adonis1 From: adonis1@nwnexus.WA.COM (Adonis Corporation ) Newsgroups: comp.windows.ms.programmer Subject: Re: Modeless Dialogs vs Globals Message-ID: <455@nwnexus.WA.COM> Date: 8 Jan 91 06:46:16 GMT References: <1488@msa3b.UUCP> Reply-To: adonis1@nwnexus.UUCP (Adonis Corporation (Doug Kent)) Organization: Northwest Nexus Inc.; Seattle, WA Lines: 19 In article <1488@msa3b.UUCP> kevin@msa3b.UUCP (Kevin P. Kleinfelter) writes: >It appears that the dialog procedure for a modeless dialog cannot >access ANY global data. This would include literal strings, because >they go into the program's global data area. > . > . > . > . >Am I correct in surmising that global data is inaccessable from a >modeless dialog, and that this includes literal strings? Boy, I sure don't know where you got this from! I've been programming Windows for a while now and it may be weird, but not that weird. You can get to globals from anywhere in the program you want to, as long as you have an external declaration in the module. Maybe I missed something somewhere? -Doug Kent