Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!orca!javelin.sim.es.com!lwallace From: lwallace@javelin.sim.es.com (Raptor) Newsgroups: comp.windows.ms.programmer Subject: Re: Passing data to a DLL; strange problem! Message-ID: <1991Apr23.152726.18318@javelin.sim.es.com> Date: 23 Apr 91 15:27:26 GMT References: <1991Apr22.173022.8930@javelin.sim.es.com> <1991Apr22.185848.21897@parc.xerox.com> Organization: Evans & Sutherland Computer Corp., Salt Lake City, Utah Lines: 16 rybicki@parc.xerox.com (Adam Rybicki) writes: >Yes, I have... There is no problem with your code. You have two >variables with the same name--ParentHandle. CodeView gets confused >and displays the contents of the application's ParentHandle, not the >DLL's. Try using a different variable name. I used to have them named identically. But I changed that. I'll double- check to make sure I don't have another ParentHandle floating around, but I doubt that's the problem. Thanks anyway. I'm going to go with dynamic allocation, I think. -- Lynn Wallace | I do not represent E&S. Evans and Sutherland Computer Corp.| Internet: lwallace@javelin.sim.es.com Salt Lake City, UT 84108 | Compu$erve: 70242,101 Revenge is a dish best not served at all.