[comp.windows.ms.programmer] importance of EXPORT section in .def file

ecollins@nmsu.edu (Edward Collins) (06/16/91)

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   =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=