Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9253

Re: Closing a VO window crashes to Windows

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From James Martin <james@northwoodlumber.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Closing a VO window crashes to Windows
Date Tue, 12 Apr 2016 11:53:08 -0400
Organization A noiseless patient Spider
Lines 56
Message-ID <nej5da$bco$1@dont-email.me> (permalink)
References <nefnqg$c3p$1@dont-email.me> <negc5u$n3p$1@dont-email.me> <neghfq$dvl$1@dont-email.me> <neikre$c6h$1@dont-email.me> <nej34j$3a0$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 12 Apr 2016 15:48:58 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="6dabfc096e408b3ae1004704b7637f83"; logging-data="11672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gfRwzHh6RiDGl0wLnCGb/"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <nej34j$3a0$1@dont-email.me>
Cancel-Lock sha1:Y4X7ELohc8g97Z3DASfqKRZTmms=
Xref csiph.com comp.lang.clipper.visual-objects:9253

Show key headers only | View raw


I had this happen to me years ago and if I remember right it had to do 
with something outside of VO - OLE, ODBC, Advantage database - or 
something like that. Is there anything outside of VO code in the window?

James

On 16-04-12 11:13 AM, Martin wrote:
> OK more tests and I am getting really desperate now!!!!
>
> Objects on the screen are being destroyed and the crash is between the
> deep down dispatch code
>
>      CASE (oEvent:message == WM_CLOSE)
>          IF SELF:QueryClose(oEvent)
>              SELF:__Close(oEvent)
>              IF lQuitOnClose
>                  PostQuitMessage(0)
>              ENDIF
>          ENDIF
>
> //A debug is OK here and works
>          RETURN SELF:EventReturnValue
>
> And a modified show where all super code is included in my class
>
>      IF SELF:lValidFlag
> //    From dataWindow:Show() & ChildAppWindow:Show()
>          IF !lSubForm
>              // Show oFormFrame as SHOWNORMAL in case data window is
> //shown iconized
>              IF self:dwDialogStyle = 0   //SE-120204
>                  IF (oImp != NULL_OBJECT)
>                      RETURN oImp:Show(nShowState)
>                  ENDIF
>                  oFormFrame:Show(SHOWNORMAL)
>              ELSE // DataDialog
>                  oFormFrame:Show(SHOWNORMAL)
>                  SetFocus(oSurface:Handle())
>                  IF (oImp != NULL_OBJECT)
> // this place debug is OK
>                      uVal    := oImp:Show(nShowState)
> // this place is not always reached
>                      RETURN uVal
>                  ENDIF
>                  RETURN SELF
>              ENDIF
>          ELSE
>              oFormFrame:Show(nShowState)
>          ENDIF
>
>
> oImp is of class __DDIMP if that is of any use
>
> I have looked through the show code and cannot find where the dispatch
> handler gets started and used, so do not know what line of code stops
> until I hit escape

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-11 09:42 +0100
  Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-11 15:29 +0100
    Re: Closing a VO window crashes to Windows Carlos Rocha <j.carlos.rocha.1.SpyedBy@gmail.com> - 2016-04-11 17:00 +0100
      Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-12 12:09 +0100
        Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-12 16:13 +0100
          Re: Closing a VO window crashes to Windows James Martin <james@northwoodlumber.com> - 2016-04-12 11:53 -0400
            Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-13 09:35 +0100
          Re: Closing a VO window crashes to Windows Otto Christiaanse <ofchristiaanse@gmail.com> - 2016-04-12 23:58 -0700
            Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-13 09:29 +0100
  Re: Closing a VO window crashes to Windows Martin <Martin@spam.spam> - 2016-04-28 11:11 +0100

csiph-web