Re: Euphoria 4.1 problem - as relates to tinewg
- Posted by LarryMiller Apr 30, 2016
- 3523 views
In Euphoria 4.0 C_HANDLE is defined as C_UINT, an unsigned 32 bit value. In Euphoria 4.1 C_HANDLE is defined as C_LONG_PTR. In a 32 bit OS this is defined as C_LONG, a signed 32 bit value. This is the problem.
In 32 bit Windows C_HANDLE needs to be equal to C_UINT as some handle, such as font handles, can be greater then a singed 32 bit value permits. Such a value would be interpreted as a negative number.
I will leave the solution of this problem to the developers.
I was using Euphoria 4.1 for a time but reverted back to 4.0 because of some unexplained problems. This may have been it.