Search found 62 matches: postquitmessage

Return to advanced search

Re: New FTDN July/Julio (FWH 23.07)

... dinámico webview.dll y WebView2Loader.dll a la versión más reciente y hemos incluido los cambios en set_user_agent() y comentado la llamada a PostQuitMessage() que cerraba la aplicación FWH al cerrar los objetos webview. Explicado aquí: https://forums.fivetechsupport.com/viewtopic.php?p=261258&#p261258 ...
by Antonio Linares
Sat Jul 29, 2023 9:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1062

New FTDN July/Julio (FWH 23.07)

... have been updated to the most recent version and we have included the changes for set_user_agent() and commented out the call to PostQuitMessage() that was closing the FWH app when closing webview objects. Explained here: https://forums.fivetechsupport.com/viewtopic.php?p=261258&#p261258 ...
by Antonio Linares
Thu Jul 27, 2023 6:13 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1062

Re: Webview question

... fork for us) Now we compare webview.h in both repos and include the code for set_user_agent. Finally we modify the code to avoid the calling to PostQuitMessage(): BOOL bRunning = FALSE;  void run() {    MSG msg;    BOOL res;    bRunning = TRUE;  ...
by Antonio Linares
Sat Jul 01, 2023 7:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webview question
Replies: 36
Views: 2929

Re: CheckRes()

1. ya probe sin el PostQuitMessage( 0 ), __QUIT() y sigue sin generar el checkres

2. corri un ejemplo de fivewin con xharbour.org y genera el checkres

3. no se si es porque uso xharbour.com ?

Gracias
by russimicro
Sat Mar 14, 2020 5:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3762

Re: CheckRes()

SET RESOURCES TO
ResAllFree( )
MEMORY( - 1 )



DbCommitAll()
DbUnLockAll()
DbCloseAll()

FreeResources()
Release All
SysRefresh()
HB_GCALL( .T. )
CLEAR MEMORY


CheckRes()


PostQuitMessage( 0 )
__QUIT()
by russimicro
Mon Mar 09, 2020 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3762

Re: Descargar y actualizar un EXE

... de la aplicación principal), si el archivo existe lo ejecuta WinExec('sacsupdat.exe") y se "suicida" con las instrucciónes "PostQuitMessage(0)" "__Quit()" Function updatever()   if file("sacsupdt.exe")      WinExec("sacsupdt.exe")  ...
by mariordz
Thu Apr 04, 2019 11:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descargar y actualizar un EXE
Replies: 5
Views: 1710

Re: Descargar y actualizar un EXE

... proceso?","Confirme" ) Return NIL EndIf ShellExecute( 0, , "actualiza.exe", , NIL, 3 ) oVentPrin:bValid := { || NIL } PostQuitMessage( 0 ) Quit Return NIL Y este es el código del programita que hace la actualización del ejecutable y lo lanza de nuevo: FUNCTION Actualiza() ...
by EBM
Thu Mar 28, 2019 1:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descargar y actualizar un EXE
Replies: 5
Views: 1710

Re: Quit command

David,

https://msdn.microsoft.com/es-es/library/windows/desktop/ms644945(v=vs.85).aspx

Normally there is no need to call Quit() neither PostQuitMessage() using FWH, as FWH does it automatically
by Antonio Linares
Thu Dec 21, 2017 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quit command
Replies: 10
Views: 1740

Re: Quit command

what does postquitmessage(0) do? I tried using that followed by a Quit command and it works fine under windows 7 but under XP it generates an error message. If you leave off the Quit command it works fine but is that ok?
by dtussman
Wed Dec 20, 2017 10:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quit command
Replies: 10
Views: 1740

Re: Quit command

These two lines

PostQuitMessage( 0 )
QUIT

should be enough.
Please check again.
by nageswaragunupudi
Wed Dec 13, 2017 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Quit command
Replies: 10
Views: 1740

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: FWH 16.03 32 BIT

Hakan,

Are you calling PostQuitMessage(0) ?

You should never do that as FWH controls the app ending
by Antonio Linares
Wed May 11, 2016 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25334

Re: FWH 16.03 32 BIT

Antonio,

PostQuitMessage(0) function is generated GPF.
by Horizon
Wed May 11, 2016 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.03 32 BIT
Replies: 118
Views: 25334

Re: Mi App se cuelga

... ya lo puse en el MAIN y tampoco me crea el fichero. hmpaquito: Con tu sugerencia al salir del PRG me saca de toda la aplicación, quite las líneas PostQuitMessage( 0 ) y __QUIT() Ya no sale de la aplicación pero el problema persiste. karinha Se presenta la misma situación que con la sugerencia ...
by Armando
Thu Nov 12, 2015 2:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mi App se cuelga (SOLUCIONADO, bueno eso creo)
Replies: 27
Views: 5571

Re: Function that runs no matter how the program is terminated

... process is "killed". 1) In our normal Exe's this EXIT function/procedure is not executed when a run-time error is encountered because PostQuitMessage( 0 ) is used in the errosysw.prg. In other words, EXIT procedure/function works after the main() function ends or after execution of ...
by nageswaragunupudi
Thu Jan 29, 2015 1:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Function that runs no matter how the program is terminated
Replies: 3
Views: 612
Next

Return to advanced search