1. win32lib bug

-- Software ID: win32lib
-- Version:     0.60.4 23/August/2004

this euphoria error popped up while my program was running:

c:\myproj\euphoria\tslib\win32lib.ew:32774 in procedure eventLoop() 
bitwise operations are limited to 32-bit numbers 

i modify my win32lib, so line number may not be same as in your win32lib.ew, so
this is the line in eventLoop() in which error occured:

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

and these are values from ex.err:

w32Seed = 1059674717
msg = 12943796

interesting that this error occurs only when i play some old dos game (non-eu).

new topic     » topic index » view message » categorize

2. Re: win32lib bug

I think this is fixed in the newer versions.

Tone Škoda wrote:
> 
> 
> -- Software ID: win32lib
> -- Version:     0.60.4 23/August/2004
> 
> this euphoria error popped up while my program was running:
> 
> c:\myproj\euphoria\tslib\win32lib.ew:32774 in procedure eventLoop() 
> bitwise operations are limited to 32-bit numbers 
> 
> i modify my win32lib, so line number may not be same as in your win32lib.ew,
> so this
> is the line in eventLoop() in which error occured:
> 
> w32Seed = xor_bits(floor(w32Seed), peek4u(msg+20) * peek4u(msg+24))
> 
> and these are values from ex.err:
> 
> w32Seed = 1059674717
> msg = 12943796
> 
> interesting that this error occurs only when i play some old dos game
> (non-eu).
>

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

3. Re: win32lib bug

You're right. Haven't looked new version. I don't like updating Win32lib because
I have to everytime update it with my custom code.
CoJaBo wrote:
> 
> I think this is fixed in the newer versions.
> 
> Tone Škoda wrote:
> > 
> > 
> > -- Software ID: win32lib
> > -- Version:     0.60.4 23/August/2004
> > 
> > this euphoria error popped up while my program was running:
> > 
> > c:\myproj\euphoria\tslib\win32lib.ew:32774 in procedure eventLoop() 
> > bitwise operations are limited to 32-bit numbers 
> > 
> > i modify my win32lib, so line number may not be same as in your win32lib.ew,
> > so this
> > is the line in eventLoop() in which error occured:
> > 
> > w32Seed = xor_bits(floor(w32Seed), peek4u(msg+20) * peek4u(msg+24))
> > 
> > and these are values from ex.err:
> > 
> > w32Seed = 1059674717
> > msg = 12943796
> > 
> > interesting that this error occurs only when i play some old dos game
> > (non-eu).
> >
>

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

4. Re: win32lib bug

Tone Škoda wrote:
> 
> You're right. Haven't looked new version. I don't like updating Win32lib
> because I
> have to everytime update it with my custom code.

Maybe we can work together on that so you don't have to add your code 
each time. Why not contribute that code to the library? If that isn't
suitable maybe I can adjust the library so you can have your code
as an extra include file? Email me if this discussion isn't 
appropriate for the forum.

-- 
Derek Parnell
Melbourne, Australia

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

Search



Quick Links

User menu

Not signed in.

Misc Menu