RE: Win32Lib bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

> -----Original Message-----
> From: Robert Craig [mailto:rds at RapidEuphoria.com]
 
> While testing the beta release translator, 
> I came across a bug in Win32Lib.ew.
> 
> There are a couple of places where the
> Windows API routines ChildWindowFromPoint() and
> ChildWindowFromPointEx() are called incorrectly.
> 
> The second argument is supposed to be a POINT structure.
> Euphoria does not allow you to pass a C structure by
> value. You can only pass the address of a structure.
> In Win32Lib.ew an attempt is made to pass the *address*
> of a POINT structure, but this is not what the C routine expects.

Weird--never even occured to me.  That explains why I had so much trouble
with it.  However, while the latest version (0.51.1) registers
ChildWindowFromPoint/Ex, it should never call the function (apps might do so
themselves).  Derek found another method to find children windows.

We'll have to update the register call, though...

Thanks,

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu