Re: W98 crash running Calculat.exw from Judith's IDE

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

Thanks Irv. I've incorporated your fix.
----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: W98 crash running Calculat.exw from Judith's IDE


>
> On Saturday 12 January 2002 07:48 pm, Pete wrote:
>
> > Seriously, sadly it doesn't seem like you found the (non-urgent)
> > problem I have -  which should be trapped by exw.exe & not "fixed" by
> > changing a .exw source anyhow. If it is a corrupt dll on my system I
> > can't afford to reinstall just now.
>
> There seem to be two different crashes to investigate:
> 1. When starting calculate from the IDE, and, once you get that one fixed:
> 2. When closing calculate.
>
> I'm using Win 98 and Derek's latest 55.5 version of Win32Lib.
>
> In  function fDoTVN_GETDISPINFO() around line 20,238 I get an error about
> trying to access the 0'th element of a sequence. Here's my patch, which
> may not be the right thing to do, but it gets us past the error:
>
>  -- This is called before we get the handle, so if
>   -- we haven't filled it in yet, we'll just grab
>   -- the first one.
>    if not lItem
>    then
>       -- lItem = find(0, tvitem_handle )
>       lItem = 1 -- IGM 01/12/2001
>    end if
>
> Now, the program will run from the IDE, but will crash with a Windows
> Meaningless Error* when closed. This can be fixed by changing the owner
> of the HelpWindow from 0 to CalcWindow. Now it will run ok from the IDE or
> directly.
>
> Can anyone provide a "proper" fix for Win32Lib?
>
> Regards,
> Irv
>
> ( * Windows ME is a registered trademark of Microsoft. Why they are proud
of
> this, I don't know. :)
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu