Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Patrick McGreevy
  Where is Patrick McGreevy?
 Clarksville
 Tennessee - United States
 Patrick McGreevy
 To: naveed shahid
  Where is naveed shahid?
 
 Pakistan
 naveed shahid
 Tags
Subject: RE: NTVDM Widnows delay write file error
Thread ID: 187760 Message ID: 189028 # Views: 1 # Ratings: 0
Version: FoxPro 2.x for MSDOS Category: General VFP Topics
Date: Wednesday, August 13, 2008 2:38:17 AM         
   


> Dear Experts!
>
> We have foxpro 2.6 for DOS application running on windows 2003 server and client computers with windows XP. Today, we received following error from 2 client PCs.
>
> Windows - Delayed Write Failed: Windows was unable to save all the data for the file f:\myApp\121454.tmp . The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
>
> I have resotred the system on previous dates but the problem is still exist. Is this a network problem or what? If I format the hard drive of both computers , would it be helpful? I google "foxpro ntvdm" and other key words and got some tips but failed.
>
> thanks
>
> naveed

Naveed,

This is the first time I have heard the term 'ntvdm'.

The acronym VDM stands for 'Virtual DOS Machine' and is run on many NT machines to create a friendly environment for DOS programs, such as FPD2x for DOS. I have also seen it used successfully on Windows 2000 Server.

The OS creates a separate memory area to run the DOS progs in. I have a few at work that run under a DOS 5.0 VDM.

The fact that the problem seems to crop up only on OS(2?) machines may something about the problem. A friend of mine had an OS 2 computer he bought brand new a number of years ago.

It got infected with the Jack Daniels Virus, and he threw it away(He had too much Jack Daniels whiskey and wiped his operating system).

I think your problem is with the operating system. Your solution is then clear.

Rewrite the app in VFP, get rid of the OS 2 machines and replace them with newer machines. The old machine's power supplys will be giving out anytime anyway.

You can buy a new CPU with 1G RAM and a 3+G processor for less than $ 500.00 American. And should solve most of your problems.

One other option: Look up the 'FORCEDOS' command in Help. You may have to back to a Win2K machine to find it, but the command should still work on XP.

Good luck,

Pat

P.S. I should mention that I haven't seen anyone trying to run a DOS VDM on an XP machine. That may also be a problem. Upgrade the software!

ENTIRE THREAD

NTVDM Widnows delay write file error Posted by naveed shahid @ 8/5/2008 7:58:53 PM
RE: NTVDM Widnows delay write file error Posted by Barbara Peisch @ 8/5/2008 8:07:39 PM
RE: NTVDM Widnows delay write file error Posted by naveed shahid @ 8/5/2008 8:47:12 PM
RE: NTVDM Widnows delay write file error Posted by naveed shahid @ 8/6/2008 5:08:45 PM
RE: NTVDM Widnows delay write file error Posted by Barbara Peisch @ 8/9/2008 3:30:21 AM
RE: NTVDM Widnows delay write file error Posted by Patrick McGreevy @ 8/13/2008 2:38:17 AM