Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append General (Bitmap) causes NDVTM error under Win7
Message
De
28/12/2010 22:47:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Append General (Bitmap) causes NDVTM error under Win7
Versions des environnements
Visual FoxPro:
FoxPro Windows
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01494076
Message ID:
01494076
Vues:
254
I have a FoxPro 2.6 application that works well on most Windows 7 machines. However, an old problem that I thought had been coded out many years ago has since raised its head again.

I have installed the app on a client's Windows 7 (32 bit) system. One of my reports includes a picture image. The code goes somewhat like this:
CREATE CURSOR eReport ( ImageFile G )
APPEND BLANK
APPEND GENERAL EReport.ImageFile FROM <Image.BMP> CLASS Paint.Picture
When FoxPro tries to do the APPEND GENERAL command, it throws up a NTVDM.EXE error and closes the application. When the application was developed many years ago, I had a similar problem with Win 98/ME (erroring out - not a NTVDM error, obviously). Forcing the CLASS solved the problem. The problem computers of many years ago didn't have Microsoft Paint installed and, as such, didn't have the CLASS defined in the registry. We got rid of the problem back then by installing MS Paint from the installation CD's.

The problem that I'm having now is similar, but different. The code works without a problem on my Win 7 development machine AND on many other machines. However, it errors out on *some* Win 7 machines - even though Paint is installed!

I've tried modifying the client's CONFIG.NT file to add more files and the app's CONFIG.FPW, thinking it might be a memory related problem (didn't work).

Has anyone else come across this problem and found a solution?

TIA
Walt Meziere
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform