Re: Fixes to Win32Lib for Euphoria RC1 Compatibility

new topic     » goto parent     » topic index » view thread      » older message » newer message
kenneth said...

Before this last change, the msgbox.e include was not necessary since it is included by win32lib.ew. Perhaps this is intentional, but how did you make it happen from those 7 new files?

This particular version of Win32Lib now uses the Euphoria 4.0 std/ libraries. The msgbox.e found in std/win32/ does not define any globals, as did the pre-4.0 msgbox.e library, nor does Win32Lib.ew propagate msgbox.e through to the calling program with something like

public include std/win32/msgbox.e 

which would not require you, then, to include std/win32/msgbox.e in your own program.

It's probably reasonable to expect Win32Lib to publicly include msgbox.e so you don't have to explicitly include it in your program, but, then again, the Euphoria v4.0 paradigm suggests that if you call a function from an include file, you include the include file.

What do you guys think? I'm leaning towards publicly including it from within Win32Lib, but somebody might have a better argument for not.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu