Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!ariel.unm.edu!nmsu!opus!ecollins From: ecollins@nmsu.edu (Edward Collins) Newsgroups: comp.windows.ms.programmer Subject: importance of EXPORT section in .def file Message-ID: <1546@opus.NMSU.Edu> Date: 15 Jun 91 17:01:16 GMT Sender: news@NMSU.Edu Distribution: comp.windows.ms.programmer Organization: NMSU Computer Science Lines: 18 Thanks to Christine Zoine and James Chuang for correctly identifying the wierd problems I mentioned in my previous post. Problem: main wndproc cannot see changes made to globally declared variables when the assignment is made in a dialog proc. Solution: Make sure all functions that called from windows are located in the EXPORT section of your .def file. Mike. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= = Mike Collins | "Why would I want to change my = = New Mexico State University | mind? Is there something wrong = = e-mail: ecollins@nmsu.edu | with the one I have?" -- Spock = =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=