Re: Euphoria 4.0 crashes (rev 1176)
- Posted by RStowasser Sep 17, 2008
- 1071 views
Something does not work correctly with Euphoria 4.0. I tried to run compat02.ew of Win32lib with Eu 40 rev 1176. I expected an error message like in Euphoria 3.1.1 but this is not the case.
Yes, there should be an error message issued, and I'm sure Matt will get on to that aspect.
If you really do want compat02.ew to parse you need to some things.
- Add "include win32lib.ew" to the beginning of "compat02.ew".
- Copy the 3.1.1 include files to the v4.0 include directory (but not the include/std directory of course).
The compat02.ew was never meant to be used in isolation from the win32lib include files. It was assumed that it would only be used in conjuction with ALL the other include files being present. That doesn't excuse the crash but does explain why there was a problem with it.
compat02.ew was meant as an example. If I use compat01.ew I will get the expected result with or without the include w32tk.e statement:
D:\Euphoria\win32libv07\Include\compat01.ew:73
Errors resolving the following references:
D:\Euphoria\win32libv07\Include\compat01.ew (7): setPenPos
D:\Euphoria\win32libv07\Include\compat01.ew (12): setRect
D:\Euphoria\win32libv07\Include\compat01.ew (16): getCtlSize
D:\Euphoria\win32libv07\Include\compat01.ew (20): getRect
D:\Euphoria\win32libv07\Include\compat01.ew (24): setCtlSize
D:\Euphoria\win32libv07\Include\compat01.ew (28): setPointerPos
D:\Euphoria\win32libv07\Include\compat01.ew (32): getPointerPos
D:\Euphoria\win32libv07\Include\compat01.ew (36): clickPointerLeft
D:\Euphoria\win32libv07\Include\compat01.ew (40): dragPointerTo
D:\Euphoria\win32libv07\Include\compat01.ew (44): setPenPos
D:\Euphoria\win32libv07\Include\compat01.ew (49): insertLVColumn
D:\Euphoria\win32libv07\Include\compat01.ew (53): getPointerPos
D:\Euphoria\win32libv07\Include\compat01.ew (57): getPointerRelPos
D:\Euphoria\win32libv07\Include\compat01.ew (61): setPenMode
D:\Euphoria\win32libv07\Include\compat01.ew (65): limitText
D:\Euphoria\win32libv07\Include\compat01.ew (69): getCurrentDirectory
D:\Euphoria\win32libv07\Include\compat01.ew (73): setCurrentDirectory
setCurrentDirectory(x) ^
Press Enter
So sometimes parsing works and sometimes not.
Roland