1. Problem with Win32Lib
- Posted by CoJaBo <cojabo at suscom.net> Aug 18, 2004
- 508 views
I keep getting "LOGIC ERROR: Held resource owner is not the actual owner" clicking any button except exit, it displays again. I have applied all the patches.
2. Re: Problem with Win32Lib
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 19, 2004
- 489 views
CoJaBo wrote: > > I keep getting "LOGIC ERROR: Held resource owner > is not the actual owner" clicking any button except exit, > it displays again. > I have applied all the patches. There is another patch but it was too messy to put up on the website. It is in the next release though. I want to 'fix' the XP manifest issue before releasing that version though, so can you wait another day or two? -- Derek Parnell Melbourne, Australia
3. Problem with Win32Lib
- Posted by Prasanta Chakraborty <prasanta.chakraborty at somerfield.co.uk> Aug 29, 2003
- 487 views
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
4. Re: Problem with Win32Lib
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 30, 2003
- 491 views
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! > >
5. Re: Problem with Win32Lib
- Posted by Wolf <wolfritz at KING.IGS.NET> Aug 30, 2003
- 489 views
> this function is unnecessary. It should be replaced by a call to > GetWindowLong(). The second parameter should be GWL_STYLE, which is -16 (I Right... and I could use some more help, re: this... How does one get the equivalent of WINDOWINFO_WindowType ??? ...also, while GetVersionEx(), in Win98, for example, returns 4 for Major, while WINDOWINFO_CreatorVersion returns 1024 for same OS. Is this another stupid Microsoft ( we'll return it in the hi-bye of the low-word ), or something else? ...trying to substitute the entire function with other equivalents... Wolf
6. Re: Problem with Win32Lib
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 30, 2003
- 498 views
----- Original Message ----- From: "Wolf" <wolfritz at KING.IGS.NET> To: "EUforum" <EUforum at topica.com> Subject: Re: Problem with Win32Lib > > > > this function is unnecessary. It should be replaced by a call to > > GetWindowLong(). The second parameter should be GWL_STYLE, which is -16 (I > > Right... and I could use some more help, re: this... > How does one get the equivalent of WINDOWINFO_WindowType ??? GetClassLong() > ...also, while GetVersionEx(), in Win98, for example, returns 4 for Major, > while WINDOWINFO_CreatorVersion returns 1024 for same OS. > Is this another stupid Microsoft ( we'll return it in the hi-bye of the > low-word ), or something else? Yes. Using GetVersionEx() is simplier than decoding the _CreatorVersion value, which merges opsys family code, build#, and version number into one 32-bit value. -- Derek