1. Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by euphoric (admin) Nov 09, 2010
- 1660 views
I've updated this ZIP file of changes to Win32Lib (7 files) needed for Win32Lib to work with Euphoria 4.0.0.RC1.
2. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by kenneth Nov 09, 2010
- 1637 views
I've updated this ZIP file of changes to Win32Lib (7 files) needed for Win32Lib to work with Euphoria 4.0.0.RC1.
The following statements
include win32lib.ew
include std/win32/msgbox.e
are now both necessary in a program which uses win32lib and message_box(). 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?
3. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by euphoric (admin) Nov 09, 2010
- 1517 views
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.
4. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by DerekParnell (admin) Nov 09, 2010
- 1560 views
Should definitely be a public include for msgbox.e
5. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by euphoric (admin) Nov 09, 2010
- 1627 views
Should definitely be a public include for msgbox.e
Well that settles it for me.
In the updated archive, msgbox.e is now publicly included for free. :)
6. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by alanjohnoxley Nov 10, 2010
- 1573 views
Ping Euphoric...
The patched (replacement) win32lib.ew you suggest, does not have seem to have comments to say who/what/when/why
changes were made, and the previous version info is removed from the header also.
This would be most helpful to all, not least Derek, if this was in place?
7. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by euphoric (admin) Nov 10, 2010
- 1551 views
The patched (replacement) win32lib.ew you suggest, does not have seem to have comments to say who/what/when/why changes were made
It's a temporary fix until Derek can release an official 4.0-compatible Win32Lib.
and the previous version info is removed from the header also.
What info are you talking about? I've only renamed conflicting variables and adjusted included files, so whatever version/header info should still be in the file.
8. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by alanjohnoxley Nov 10, 2010
- 1546 views
Well, there are a few win32lib versions out there... Which version are you patching? I'll add that info to the header of your patched win32lib.ew myself, or in the changes.txt but I don't know what to add! The link for win32lib from www.usingeuphoria.com (yours?) gets you to /euphoria-programming-swicki.eurekster.com/win32lib/ where there are a few win32libs on offer. I'm not trying to be a ungrateful little sh*t but I don't want to waste everybody's time chasing issues that aren't, due to my poor version control. To summarise, can you add a link to your patch that indicates what you are patching please?
Point 3 on the old header from David Cuny asks that alterations be documented.
I'm going to build a new VM with the recommended Eu 4.0RC1, win32lib and your patches to be sure the errors are not mine.
9. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by euphoric (admin) Nov 10, 2010
- 1471 views
Well, there are a few win32lib versions out there...
Heh. You're true.
I have modified the SVN repo version of the Win32Lib available from this page at this link:
I will add a text file to the ZIP archive that says this.
Hope that helps! :)
10. Re: Fixes to Win32Lib for Euphoria RC1 Compatibility
- Posted by alanjohnoxley Nov 10, 2010
- 1479 views
Thanks! The SVN one was the one I thought was the "official" BTW, but thats the one thats not working for me... Will do the VM thing as mentioned, and fiddle a bit to see why.