RE: Win32lib-closeWindow problem
- Posted by Jerry Story <jstory at edmc.net> Jul 14, 2003
- 426 views
Derek Parnell wrote: > I'm clutching at straws here, but it could be that you are trying to > access > some control's data after the window has been closed. There doesn't seem to be any call from my program after the call to closeWindow(). Here is a continuation of the ex.err file from closeWindow(). ---------------------------- ... called from G:\Euphoria\include\win32lib.ew:13348 in procedure closeWindow() id = 3 ... called from G:\EU_projects\dmak_lv\events.ew:515 in procedure onMenu_MenuExit() ... called from G:\Euphoria\include\win32lib.ew:7149 in function invokeHandler() id = 34'"' event = 4 params = {} lRoutines = {100'd'} lCallType = 2 i = 1 ... called from G:\Euphoria\include\win32lib.ew:23745 in function fDoCommand() id = 34'"' hWnd = 983260 iMsg = 273 wParam = 34'"' lParam = 0 pReturn = -2761 lRC = {-9987} lChildId = <no value> ... called from G:\Euphoria\include\win32lib.ew:24725 in function MessageProcessor() pSource = -2761 hWnd = 983260 iMsg = 273 wParam = 34'"' lParam = 0 id = 3 lHandledEvent = 19 lTemp = <no value> result = <no value> lUserReturn = <no value> ... called from G:\Euphoria\include\win32lib.ew:24772 in function WndProc() hWnd = 983260 iMsg = 273 wParam = 34'"' lParam = 0 ^^^ call-back from Windows ... called from G:\Euphoria\include\w32dll.ew:279 in procedure w32Proc() funcid = 26 parms = {35713580} libfunc = <no value> lFuncDef = 60'<' memset = 0 i = 1 ... called from G:\Euphoria\include\win32lib.ew:25062 in procedure eventLoop() id = 0 Flag = -1 msg = 35713580 hWnd = 0 getRC = 1 inc = 0 el = 1 lTock = 0 ... called from G:\Euphoria\include\win32lib.ew:25206 in procedure WinMain() id = 3 style = 0 lInitFocus = -1 ... called from G:\EU_projects\dmak_lv\dmak.exw:100 ----------------------------------- In this version of dmak I replaced lists with listviews. The old version does not produce this error. At the risk of asking a ridiculously silly, clueless question, could the replacement of lists with listviews make the difference? Jerry Story