1. Bernie: Trouble with win32eru
- Posted by guest at rapideuphoria.com Apr 02, 2004
- 460 views
posted by: barnacle83-topica at yahoo.com Wow... A lot has been going on here since I've been here last! Anyway, Bernie, I'm having some trouble with your win32eru. I'm using Jeremy Gordon's GoRC resource compiler (freely downloadable at http://www.jorgon.freeserve.co.uk/index.htm#rc) and trying to convert the resulting *.res with win32eru. It seems that no matter what I compile with GoRC, win32eru produces a fatal error when trying to convert it. For testing purposes, I compiled your example resource script (tbar.rc) with GoRC and then ran win32eru. I was surprised to see that even this doesn't work. Can you help? Here's the command prompt after trying to convert tbar.res: Euphoria Resource Utility The 32-bit resource include file generator Copyright (c) 2001 Bernard W. Ryan win32eru.ex:1681 slice length is less than 0 (-2) --> see ex.err C:\Language\euphoria\win32eru> I'm running Eu 2.4 on WinXP. Andrew Hall
2. Re: Bernie: Trouble with win32eru
- Posted by guest at rapideuphoria.com Apr 02, 2004
- 488 views
posted by: barnacle83-topica at yahoo.com Bernie, OK. I just tried Watcom's resource compiler and Borland's resource compiler. Only the tbar.res produced by Borland's could be processed by win32eru. Using Borland's resource compiler on one of my *.rc files, however, still produces a *.res that win32eru can't process. Here's the error in this situation: <dos> C:\Language\work\resource>ex win32eru.ex resource.res win32eru.ex:1221 in procedure Eh() subscript value 3 is out of bounds, reading from a sequence of length 2 ... called from win32eru.ex:1683 --> see ex.err C:\Language\work\resource> </dos> Here's my simple resource.rc: <textfile> #include "resource.h" SKIN MANIFEST "manifest.txt" </textfile> And here's resource.h: <textfile> #define SKIN 1 </textfile> I'm simply trying to use this process to bind a manifest file to my win32lib apps to give them WinXP skinning, although I plan to use this process for other things like icons, etc. Thanks for looking at this! Andrew
3. Re: Bernie: Trouble with win32eru
- Posted by "Bernard W. Ryan" <xotron at bluefrognet.net> Apr 03, 2004
- 407 views
win32eru is an old program that was not updated to work ( because nobody showed much interest in it ) with ver 2.4 of EU so that maybe a problem. I now use my own w32engin.ew library which contains ERU that works with goRC and Borland. Watcom has 2 resource compilers. The 32BIT version is the one that win32eru needs is contained in the NT directory of Watcom. I don't use manifest resources and don't know anything about them, win32eru dosen't support them. Couldn't you just include manifest.txt in a sequence inside your EU program ? Bernie