1. 2.4 Error Message Problems
I got this error when running a program:
D:\Euphoria\INCLUDE\Win32Lib\w32dll.ew:211 in function w32Func()
buffer is failure, buffer is 1
Runtime error (Traceback unavailable)in32Lib\win32lib.ew:24527 in procedure
even
tLoop()
Press Enter...m D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24679 in procedure
WinM
ain()
... called from D:\Tools\Library\Bass\BassWMA\18\Euphoria\WMALive.exw:209
--> see ex.err
Press Enter...
As you can see, some of the output has been overwritten. It doesn't seem to
know exactly what buffer is. Also, I am pretty sure that there is no
"buffer" variable in w32Func(). Eu does not seem to notice that the routine
the error is happening in, is in fact in a call-back function. This routine
does not even call any Win32Lib functions. The error may in fact be occuring
within a DLL, but I am not sure. Here is part of ex.err, but it has not been
written correctly either:
D:\Euphoria\INCLUDE\Win32Lib\w32dll.ew:211 in function w32Func()
D:\Euphoria\INCLUDE\Win32Lib\w32dll.ew:211 in function w32Func()
buffer is
funcid = <no value>
parms = <no value>
lRC = <no value>
libfunc = <no value>
lFuncDef = <no value>
linked = <no value>
memset = <no value>
... called from D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24527 in procedure
eventLoop()
id = 0
Flag = -1
msg = 9801672
hWnd = 0
getRC = 1
inc = 0
el = 1
lTock = 0
... called from D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24679 in procedure
WinMain()
id = 3
style = 0
lInitFocus = -1
... called from D:\Tools\Library\Bass\BassWMA\18\Euphoria\WMALive.exw:209
Traced lines leading up to the failure:
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24226
vHandler[lHandledEvent-1] = vHandler[lHandledEvent]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24227
vHandler[lHandledEvent] = lTemp
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24228 lTemp =
vEventCnt[lHandledEvent-1]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24229
vEventCnt[lHandledEvent-1] = vEventCnt[lHandledEvent]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24230
vEventCnt[lHandledEvent] = lTemp
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24234 gtMsg = gtMsg[2 ..
length(gtMsg)]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24235 VOID = invokeHandler(id,
w32HAfterEvent, {iMsg, wParam, lParam, result} )
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24236 return result
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24234 gtMsg = gtMsg[2 ..
length(gtMsg)]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24235 VOID = invokeHandler(id,
w32HAfterEvent, {iMsg, wParam, lParam, result} )
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24236 return result
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:14861 end procedure
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:23301 return {pReturn}
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24198 if result[1] =
kWinDefProc then
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24212 if length(result)
> 1 then
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24215 result = 0
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24220
vEventCnt[lHandledEvent] += 1
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24221 if lHandledEvent > 1
and (vEventCnt[lHandledEvent-1]+1<vEventCnt[lHandledEvent]) then
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24234 gtMsg = gtMsg[2 ..
length(gtMsg)]
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24235 VOID = invokeHandler(id,
w32HAfterEvent, {iMsg, wParam, lParam, result} )
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24236 return result
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24536 Flag -= inc
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24537 end while
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24506 if vIdleCheck then
D:\Euphoria\INCLUDE\Win32Lib\win32lib.ew:24527 getRC = w32Func(
xGetMessage, { msg, hWnd, 0, 0 } )