Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run EXE file and XP reboots
Message
De
29/01/2010 18:30:12
 
 
À
29/01/2010 18:08:21
Andy Roth
Neyenesch Printers
Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01446580
Message ID:
01446581
Vues:
59
>Foxpro 9 SP2. I have a couple of forms that I have compiled to exe. They are not complicated, enter data, press print, gets SQL info
>send it to a report file for printing. These programs have run well on all my windows xp sp3 workstations, 40+.
>I have 1 and only 1 PC that generates an error and reboots the PC. If I make the program into a prg and run it as a prg
>on that workstation it runs OK. Only the exe crashes the PC. I put a WAIT in the first line of code in the prg file and compiled it to the exe and it does not get to that line before the reboot takes place.
>
>Any ideas on how to correct this?

It should be impossible for a VFP EXE to reboot a PC unless it specifically accesses the appropriate Windows APIs. Even a corrupt EXE or runtime DLL should not reboot the PC; at worst you should get a protection fault from Windows.

A few ideas:

- Check the System and Application Event Logs to see if anything relevant is getting logged
- Run CHKDSK on the volume that contains your EXE, correct any errors it may find
- Check if the PC is infected with a virus or other malware that might be interfering with normal loading of EXEs
- If it seems clean, try running with antivirus real-time scanning disabled
- When a program loads, it allocates RAM memory. If that RAM memory is bad the PC may reboot. You can test the memory with free tools such as MemTest86: http://www.memtest86.com/download.html
- Check that the video driver is up-to-date and exactly correct for the actual video hardware
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform