Win32Lib help, please
- Posted by isaac <isaaca at MINDSPRING.COM> Jun 12, 1998
- 739 views
I used loadWindow() to open a secondary window, but when I closed it(the secondary), it closed the main window and ended my program. So, I tried WinMain() and it worked perfectly -- or seemed to. I discovered that every time I ran it, the program never really shut down; if I hit ctrl-alt-del(in win95), exw was listed in the task list. I added onUnload() routines with abort(0), which cleared up the residual problem, but then the program closed when I closed the secondary window, although not when I closed the main, so I suppose by creating it under WinMain() named I the secondary window as the functioning window. If so, is there a way to redeclare this? (WinMain(mainwindow) causes an error). BTW I also tried putting an abort(0) at the end of the program as well as consecutive abort(0)'s in the onUnload routine. a thousand TIA isaac