1. win32lib routine
- Posted by JoKeR Jul 18, 2010
- 1291 views
I played with Euphoria some years ago (see JoKoSoKo game in the archive) and thought I'd put it on my current computer to play with some more. I downloaded the latest Euphoria and installed it. Then I downloaded the latest win32lib from the top 100 list in the archive and unzipped it, adding its include directory to my EUINC environment variable.
Next I tried running the rundemo.exw program included with win32lib and got the following message:
c:\euphoria-40b2\win32lib\include\win32lib.ew:4033 <0090>:: found reserved word 'routine' but was expecting a parameter name instea d. global procedure setHandler( object id, object htype, object routine) ^
Is there some problem with my install procedure? Shouldn't the latest win32lib be the one I should use?
Let me say this was a somewhat disappointing start to using it again. I expected these two installs which are so central to so many Euphoria programs to be a snap.
-J. Kenneth Riviere
2. Re: win32lib routine
- Posted by ne1uno Jul 18, 2010
- 1251 views
I played with Euphoria some years ago (see JoKoSoKo game in the archive) and thought I'd put it on my current computer to play with some more. I downloaded the latest Euphoria and installed it. Then I downloaded the latest win32lib from the top 100 list in the archive
the eu4 beta? search on win32libex, see the post, http://oe.cowgar.com/forum/post.wc?parent_id=111740"e=1
the archive hasn't the ability yet to classify entries that are known to work with euphoria4. it's always a bit of a gamble. I don't suggest fixing an older win32lib itself, but for any program that may use an eu4 reserved word, you will usually find just renaming them will solve the syntax errors. see include/euphoria/keywords.e for the list.
3. Re: win32lib routine
- Posted by JoKeR Jul 19, 2010
- 1213 views
Thanks for the quick reply. Unfortunately, I was unable to get to the page you included a link for. It gave me a security violation.
So, I should use the non-beta Euphoria if I want to use win32lib? I searched for win32libex in both the forum and the archive and didn't see anything more recent than two years ago. Is there not a win32lib for the beta?
4. Re: win32lib routine
- Posted by ne1uno Jul 19, 2010
- 1283 views
Thanks for the quick reply. Unfortunately, I was unable to get to the page you included a link for. It gave me a security violation.
So, I should use the non-beta Euphoria if I want to use win32lib?
use the newer versions if you can.
there is a link at the bottom of the sourceforge page to a tar archive you can unzip.
quoting that message, The latest revision can be downloaded from Source Forge ...
http://win32libex.svn.sourceforge.net/viewvc/win32libex/trunk/Include/
or use a Subversion client to get a copy of the repository using the URL https://win32libex.svn.sourceforge.net/svnroot/win32libex
eg.
svn co https://win32libex.svn.sourceforge.net/svnroot/win32libex win32libex
5. Re: win32lib routine
- Posted by JoKeR Jul 19, 2010
- 1206 views
Thanks again. I got the GNU tarball you pointed me to and unpacked it into my win32lib\include directory and it now seems to be working.
I'm thinking of updating my JoKoSoKo game to work with the new win32lib methods. I'll let you know if I come up with anything that looks like it is worth sharing.
6. Re: win32lib routine
- Posted by ne1uno Jul 19, 2010
- 1241 views
I played with Euphoria some years ago (see JoKoSoKo game in the archive)
...
Next I tried running the rundemo.exw program included with win32lib and got the following message:
c:\euphoria-40b2\win32lib\include\win32lib.ew:4033 <0090>:: found reserved word 'routine' but was expecting a parameter name instea d. global procedure setHandler( object id, object htype, object routine)
I just noticed the 40b2, anyone should update to beta3 which includes many bug fixes and generally works much smoother.
see from the top of the page the downloads link, you can also get the open watcom compiler to translate programs installed at the same time.
7. Re: win32lib routine
- Posted by tbohon Aug 03, 2010
- 1155 views
Thanks again. I got the GNU tarball you pointed me to and unpacked it into my win32lib\include directory and it now seems to be working.
I'm thinking of updating my JoKoSoKo game to work with the new win32lib methods. I'll let you know if I come up with anything that looks like it is worth sharing.
I also got the tarball, unpacked it into my win32lib\include directory and now get the following:
c:\euwork>eui try1.exw C:\euphoria-40b3\include\Win32Lib.ew:4033 <0090>:: found reserved word 'routine' but was expecting a parameter name instead. global procedure setHandler( object id, object htype, object routine) ^
Press Enter
c:\euwork>more ex.err C:\euphoria-40b3\include\Win32Lib.ew:4033 <0090>:: found reserved word 'routine' but was expecting a parameter name instead. global procedure setHandler( object id, object htype, object routine) ^
- Defined Words - EU4 EU400 EU40000 WINDOWS WIN32 WIN32_CONSOLE EUI
c:\euwork>
Anyone have any suggestions???