Re: Problem with Win32Lib

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

Thanks Elliott.  I knew there was a simpler way to get this info but I couldn't
remeber it or find time to research it.

Your suggestion will be implemented asap.

----- Original Message ----- 
From: "Elliott Sales de Andrade" <quantum_analyst at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Problem with Win32Lib


> 
> 
>     I think the better way would be to fix Win32Lib. After all, all of 
> Windows 95 shouldn't be excluded because of one function, especially since 
> this function is unnecessary. It should be replaced by a call to 
> GetWindowLong(). The second parameter should be GWL_STYLE, which is -16 (I 
> don't think this constant is defined in Win32Lib, which could be why Derek 
> didn't use it.)
> Replace the line:
>         lFlags = getWindowInfo(id, {WINDOWINFO_Style})
>         if and_bits(lFlags[1], LBS_MULTIPLESEL) != 0 then
> with:
>         lFlags = w32Func(xGetWindowLong, {getHandle(id), -16})
>         if and_bits(lFlags, LBS_MULTIPLESEL) != 0 then
> and change lFlags to an atom instead of a sequence.
> Now, no need to upgrade from Windows 95 (unless you want to.)
> 
> 
> >From: Brian Broker <bkb at cnw.com>
> >Reply-To: EUforum at topica.com
> >To: EUforum <EUforum at topica.com>
> >Subject: RE: Problem with Win32Lib
> >Date: Fri, 29 Aug 2003 17:47:31 +0000
> >
> >
> >Hi Prasanta,
> >
> >The function 'GetWindowInfo' has the following restriction:
> >
> >Minimum operating systems: Windows 98, Windows NT 4.0 SP6
> >
> >Solution: install SP6 for NT 4.0
> >
> >-- Brian
> >
> >Prasanta Chakraborty wrote:
> > >
> > >
> > > When I try to run a few Win32lib programs and also the new IDE, I get
> > > the following error:
> > >
> > > Error Code 464
> > > Couldn't link to C function 'GetWindowInfo'
> > >
> > > I have installed the latest Win32Lib and V18 of the IDE. The OS is Win
> > > NT 4.0 SP 5.
> > >
> > > Regards,
> > > Prasanta
> > >
> >
> >TOPICA - Start your own email discussion group. FREE!
> >
> >
> --^----------------------------------------------------------------
> This email was sent to: ddparnell at bigpond.com
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu