Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen becomes empty under RDP if other app is activated
Message
De
25/12/2016 03:57:05
 
 
À
25/12/2016 03:19:02
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01646033
Message ID:
01646048
Vues:
42
Hi!

>Most probable, IMO, is that the app is not responding to periodic querying by Windows, so it considers the app dead or crashed.

(not responding) does not appear in title bar.
So maybe VFP does not redraw screen if output is created using ? commands.

>Include a DOEVENTS FORCE somewhere, preferrably on a timer. In my experience, the timer's interval should be somewhat >shorter than 5 seconds.
>In my case it was the long conversion routines, which would repackage tens of thousands of records from an outside source into the SQL database, and the usual echoing of log on _screen and periodic wait window nowait aren't considered signs of activity, so I'd get the milk-over-app whitish display, and the app would be labeled as "not responding". It stopped when I added this in the same periodic check. Just didn't put the check on each 100 records, but rather on every 10 and if number of seconds since last Doevents was >4,56 (which is my guesstimate, not from any documentation).

This is console style application is running from mobile phones using iTap RDP client.
It uses wait and accept commands for user input.

Are you sure that VFP timer even fires if application waits input from ACCEPT command?

Or maybe application can re-factored so that it re-draws screen properly under RDP ?
Application needs two commands:

1. ? - Write line to screen
2. ACCEPT - Read line from screen. Backspace key should delete previous character and enter should pass input string
to caller.

Maybe SAY/GET or writing using other methods should work.
Where to find console window implementation in VFP using other commands, not ? and accept ?

ACCEPT command uses hard-coded 9 pt FoxFont font for input. Using other command can allow to increase input font size also.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform