1. Yet anther problem. Need HELP

I lost a computer recently. Replaced it and started reloading stuff. Much was in the archives. I found some of it and
reconstructed files. Then the problem started. I use an EU utility I wrote in 2019 as an example. When I execute the original
euphoria file it does not run - get 108 error messages; however, the compiled version from 2019 (Watcom) still works.
Example error:
'xCreateHatchBrush' (C:\Euphoria\include\Win32Lib.ew:7131) has not been declared.
'xFillRect' (C:\Euphoria\include\Win32Lib.ew:7147) has not been declared.
'xCreatePatternBrush' (C:\Euphoria\include\Win32Lib.ew:7484) has not been declared.
'xCreateHatchBrush' (C:\Euphoria\include\Win32Lib.ew:7492) has not been declared.
'FLOODFILLSURFACE' (C:\Euphoria\include\Win32Lib.ew:7523) has not been declared.
'FLOODFILLSURFACE' (C:\Euphoria\include\Win32Lib.ew:7539) has not been declared.
Header:
code generated by Win32Lib IDE v1.0.4 Build July-06-2008

constant TheProgramType="exw"

include Win32Lib.ew
without warning
include jd\jd.e
include std\convert.e

All of the errors are from win32lib not from the eu interpreter.

Euphoria 4.1.0

My question is:
Has something changed? I would have thought win32lib would be pretty stable after all these years.
What do I do?

regards,
jd

new topic     » topic index » view message » categorize

2. Re: Yet anther problem. Need HELP

I've got xCreateHatchBrush in v0.70.2 (specifically w32gdi.ew) but not v0.60.6
Ditto xCreatePatternBrush, and xFillRect (but latter in w32user.ew)
Maybe you've mixed up win32lib.ew and earlier versions of such include files.
(Oddly, FLOODFILLSURFACE is in all 4 versions I still have)

What's the version number at the start of your win32lib.ew?

You can get my latest win32lib(6/7) from a phix install or the phix.1.0.5.2.zip file, or win32lib7 from PCAN (should work on 4.1.0 but I'm not promising that)
(Aside: Just noticed my win32lib7 says v0.70.3 on line 1 but 0.70.4a on line 7, though I think I'll leave it like that)

new topic     » goto parent     » topic index » view message » categorize

3. Re: Yet anther problem. Need HELP

Thanks for taking the time to think on this. I don't know the version number of the one that gives the most errors
only that it says: Copyright: (c) 2000-2009 /"David Cuny" and friends.
I have another copy from Sourceforge that suffers from "reserved word" problems it is version: 0.59.1 8/June/2003.

Oh, well, NEXT YEAR I will investigate further.

Happy New Year!

new topic     » goto parent     » topic index » view message » categorize

4. Re: Yet anther problem. Need HELP

jessedavis said...

I lost a computer recently. Replaced it and started reloading stuff. Much was in the archives. I found some of it and
reconstructed files. Then the problem started. I use an EU utility I wrote in 2019 as an example. When I execute the original
euphoria file it does not run - get 108 error messages; however, the compiled version from 2019 (Watcom) still works.
Example error:
'xCreateHatchBrush' (C:\Euphoria\include\Win32Lib.ew:7131) has not been declared.
'xFillRect' (C:\Euphoria\include\Win32Lib.ew:7147) has not been declared.
'xCreatePatternBrush' (C:\Euphoria\include\Win32Lib.ew:7484) has not been declared.
'xCreateHatchBrush' (C:\Euphoria\include\Win32Lib.ew:7492) has not been declared.
'FLOODFILLSURFACE' (C:\Euphoria\include\Win32Lib.ew:7523) has not been declared.
'FLOODFILLSURFACE' (C:\Euphoria\include\Win32Lib.ew:7539) has not been declared.
Header:
code generated by Win32Lib IDE v1.0.4 Build July-06-2008

constant TheProgramType="exw"

include Win32Lib.ew
without warning
include jd\jd.e
include std\convert.e

All of the errors are from win32lib not from the eu interpreter.

Euphoria 4.1.0

My question is:
Has something changed? I would have thought win32lib would be pretty stable after all these years.
What do I do?

regards,
jd

Not sure if it helps, but here is Win32lib for Euphoria 4.1

[https://www.file-upload.org/fzhsvcykz1yk]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu