Search found 64 matches: termination

Return to advanced search

Re: App Termination and Relaunch.

Simples, // C:\FWH..\SAMPLES\TUTOR09.PRG// Modificado en: 07/10/2023#Include "FiveWin.ch"#Include "Directry.ch"#Define aPubGrad {| lInvert | If( lInvert, ;                 { { 1 / 3, nRGB( 255, 253, 222 ), nR...
by karinha
Sat Oct 07, 2023 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

Re: App Termination and Relaunch.

You can do this: Run an external program from your program -upg.exe () winexec("upg", 1)quit From your program upg.exe () you launch your application, and upg.ехе closing #INCLUDE "FiveWin.ch"function Main   millisec(50)  winexec(MyApp, 1)  quitreturn NIL
by Natter
Sat Oct 07, 2023 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

Re: App Termination and Relaunch.

You can also achieve the termination and relaunch of your application using a batch file in Windows. Here's a simple example of how you can create a batch file to do this: 1. Create a text file with a `.bat` extension, such as `restart_my_app.bat`. ...
by Antonio Linares
Fri Oct 06, 2023 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

Re: App Termination and Relaunch.

... terminate the current instance of your application and launch a new one. If you need to perform some specific tasks or maintain state between the termination and relaunch, you'll need to implement those as part of your application logic.
by Antonio Linares
Fri Oct 06, 2023 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

Re: App Termination and Relaunch.

Dear Byron,

You may try:

ShellExecute( 0, "open", "yourapp.exe" )
__Quit()
by Antonio Linares
Fri Oct 06, 2023 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

App Termination and Relaunch.

Is there an easy way to terminate my app then immediately relaunch it. Obviously this is a workaround for a problem the app has but I need an immediate solution while trying to figure out what the main problem is. Thanks,
by byron.hopp
Fri Oct 06, 2023 6:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 378

Re: abnornal program termination

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=31143&p=180002&hilit=UNINT_PORT&sid=a30d1ae7139195e317d4a8367df53f69&sid=a30d1ae7139195e317d4a8367df53f69#p180002 http://forums.fivetechsupport.com/viewtopic.php?f=6&t=7454&p=34149&...
by karinha
Tue Oct 04, 2022 2:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

Saludos
Kariña, gracias
Este programa no utiliza DLL para la lectura del puerto, solo las funciones de comunicación, solicitaré datos del OS donde se ejecuta.
by jnavas
Tue Oct 04, 2022 7:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

Entonces genera hb_out.log Buenas noches hmpaquito, esto tampoco es posible, porque no es un ERROR de programa, sino un desbordamiento de RAM. Windows10 para "proteger" sus archivos, apaga el programa en tiempo REAL, como un BUCLE infinito "bloquea" la memoria. La única salida e...
by karinha
Mon Oct 03, 2022 11:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

Entonces genera hb_out.log
by hmpaquito
Mon Oct 03, 2022 8:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

hmpaquito wrote:Hola,

Hay que ver si se genera algun archivo .log


Desbordamiento de la pila de memoria, no genera ERROR.LOG, porque es Windows el que "rompe" el programa, por pura falta de espacio, para ASIGNAR memoria auxiliar, ¿de acuerdo?

Regards, saludos.
by karinha
Mon Oct 03, 2022 6:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

Hola,

Hay que ver si se genera algun archivo .log
by hmpaquito
Mon Oct 03, 2022 6:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

Re: abnornal program termination

Windows 10? En caso afirmativo, ¿Cual es la tarjeta de memoria? En Windows10, la memoria mínima es de 8 Gbs. O intente lo mismo, usando HBCOMM.LIB

Hay Looping en el código completo?

Que marca de balanza?

¿La báscula tiene DLL?

Regards, saludos.
by karinha
Mon Oct 03, 2022 5:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

abnornal program termination

Saludos Usuario con balanza (bascula de Pesaje) puerto serial, reporta este mensaje esporádicamente: abnornal program termination. PROCEDURE Main( cPortName ) LOCAL cBuff:=SPACE(8000) Local cCom :=cPortName LOCAL I Local nBaudeRate:=9600 Local ndatabits :=8 Local nparity :=0 //0NONE, ...
by jnavas
Mon Oct 03, 2022 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 608

ADS - The future is <sadly> now so where do you go ?

... or making it available to new clients, but they have not been responding. All they have confirmed so far is that it is slated for maintenance termination on 12/31/2022, although there have been no updates for many years. At this point I am facing the dilemma of modifying tens of thousands ...
by TimStone
Tue Apr 19, 2022 9:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADS - The future is <sadly> now so where do you go ?
Replies: 26
Views: 2722
Next

Return to advanced search