how to QUIT all Windows ?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

how to QUIT all Windows ?

Post by AUGE_OHR »

hi,

if i got a Error i use BEGIN SEQUENCE / RECOVER where i want to QUIT ( all )

Code: Select all

   IF HB_ISOBJECT( oControl )
      bOldError := ERRORBLOCK( { | e | BREAK( e ) } )
      BEGIN SEQUENCE
         // here call Sub-Class  
      RECOVER USING oError
         ERRORBLOCK( bOldError )
         MsgInfo("Problem VLC Engine"+ CRLF + CRLF + oError:description + " : " + oError:operation,"Error VLC ActiveX "+ LTRIM(HB_VALTOSTR( oError:osCode )) )
         QUIT // here QUIT hole App
      END SEQUENCE
      ERRORBLOCK( bOldError )
my Problem : it does not QUIT "hole App" ... need Idea :idea:

p.s. some TIMER are running ... can this be a Problem to QUIT ?
have fun
Jimmy
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: how to QUIT all Windows ?

Post by salamandra »

Hi Jimmy,
Did you try ??

DbCloseall()
Release Windows All

hth,

Salamandra, Brazil
There is one time in which is crucial awakening. That time is now. ( Buddha )
Post Reply