Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!hubcap!mikeoro From: mikeoro@hubcap.UUCP (Michael K O'Rourke) Newsgroups: comp.sys.mac.programmer Subject: cdef problems (last round) Message-ID: <4358@hubcap.UUCP> Date: 9 Feb 89 03:11:38 GMT Organization: Clemson University, Clemson, SC Lines: 17 Well, I finally got all my problems, almost, figured out with my PICT button CDEF. However, I have one last problem. It seems that my tester program which brings up a window with the control bombs on KillControls(MainPtr). Everything else works okay. It highlights and redraws and everything, but when it goes to dispose of the button i get an out of memory error. Anybody have any ideas? The tester program is in LSP. The same program in LSC doesn't bomb though. If anyone is willing to help I will be more than happy to send source for the control and the tester program. Thanks, Michael O'Rourke P.S. I would recommend writing a CDEF to everyone. Boy does it make you appreciate Macintosh programming and its complexities!!! .