1. Bug in Win32Lib?

Occasionally when running Euphoria DOS programs, I get the error:
...\win32lib.ew:32613 in procedure eventLoop()
bitwise operations are limited to 32-bit numbers
... called from ...\win32lib.ew:32794 in procedure WinMain()
... called from ...\IDE\IDE.exw:19154
--> see ex.err
...

I've only noticed this with IDE and only on this computer.

If ex.err is being written I can't find it.

new topic     » topic index » view message » categorize

2. Re: Bug in Win32Lib?

CoJaBo wrote:
> 
> Occasionally when running Euphoria DOS programs, I get the error:
> ...\win32lib.ew:32613 in procedure eventLoop()
> bitwise operations are limited to 32-bit numbers
> ... called from ...\win32lib.ew:32794 in procedure WinMain()
> ... called from ...\IDE\IDE.exw:19154
> --> see ex.err
> ...
> 
> I've only noticed this with IDE and only on this computer.
> 

Thanks.  This was reported earlier. It will probably only happen on 
long running programs. Anyhow, I've fixed the issue now for the next 
release.

If you'd like to test it, in the eventLoop() routine, replace the lines ...

 w32Seed = xor_bits(floor(w32Seed), peek4u(msg+16))
 w32Seed = xor_bits(floor(w32Seed), peek4u(msg+20) * peek4u(msg+24))
 w32Seed += 1

with 

w32Seed = remainder((w32Seed * peek4u(msg+16)) 
                    + 1 + peek4u(msg+20) * peek4u(msg+24), 
                    #FFFFFFFF)


-- 
Derek Parnell
Melbourne, Australia

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

3. Bug in Win32Lib?

I am using Win32Lib 0.59.1, and I fount the w32HChange handler for a 
list is not beeing called for a list when setIndex() is used.
Is this a bug? Will it be fixed in the next version?(I need to know this 
because this would cause my temp. fix to call w32HChange twice)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu