Win32Lib and IDE with Euphoria 4.0
- Posted by euphoric (admin) Aug 03, 2010
- 1388 views
Here's a patch of minimal changes to get Win32Lib (Revision 70 from the Win32LibEx SVN repository) to work with Euphoria 4.x. These changes make it incompatible with prior versions of Euphoria, but you should be using 4.x anyway. :)
Index: Include/w32msgs.e =================================================================== --- Include/w32msgs.e (revision 70) +++ Include/w32msgs.e (working copy) @@ -1,6 +1,8 @@ -- w32msgs.e -include msgbox.e +include std/win32/msgbox.e +-- include msgbox.e + constant True = (1=1) integer Index: Include/w32resources.ew =================================================================== --- Include/w32resources.ew (revision 70) +++ Include/w32resources.ew (working copy) @@ -27,6 +27,9 @@ without trace without type_check without warning + +include std/io.e + include series.e as series object VOID Index: Include/w32utils.e =================================================================== --- Include/w32utils.e (revision 70) +++ Include/w32utils.e (working copy) @@ -24,7 +24,7 @@ without warning without trace -include wildcard.e +-- include wildcard.e include dll.e include machine.e Index: Include/w32xpm.ew =================================================================== --- Include/w32xpm.ew (revision 70) +++ Include/w32xpm.ew (working copy) @@ -2,6 +2,8 @@ ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- +include std/get.e + integer xpmErrFlag -- on error, sets code global constant Index: Include/win32lib.ew =================================================================== --- Include/win32lib.ew (revision 70) +++ Include/win32lib.ew (working copy) @@ -562,12 +562,16 @@ end procedure registerRoutine("finishAppInternal",routine_id("finishAppInternal")) +include std/win32/msgbox.e +include std/get.e +include std/filesys.e + include machine.e include dll.e -include msgbox.e -include file.e -include get.e -include wildcard.e +-- include msgbox.e +-- include file.e +-- include get.e +-- include wildcard.e include image.e include w32Keys.e -- Definitions of Windows keycodes. include w32msgs.e
I use the compiled version of the IDE (EuVIDE) for development and my programs run just fine.