D
Denise Mills
Hi,
On my previous Windows 98 machine, I wrote a simple C program that takes
two text files as input, performs some calculations, then produces a
text file that contains the results. It worked fine on that machine.
Recently, however, I obtained a new Windows XP machine, and the program
is not working correctly on my new computer computer. On the new XP
machine, I'm running the program in the DOS window, as before, and the
program does execute and produce an output file, however the file is
empty.
I tried the following, but the results were unchanged:
1. Compiling it on the new machine
2. Changing the location of the input files, and thus the directory
path, so that there were no spaces in the path, i.e., the default path
contained "documents and settings." (The program, itself, is in a
folder that is accessible from any location, and I have used other
programs within this same folder with associated input files in other
locations and it works fine, so that isn't the problem)
3. Logging in as administrator to see if there was a permission problem
The program was created in Borland C++ 5.02.
Any ideas? Is there something obvious that I'm overlooking?
Thanks for your time.
DM
On my previous Windows 98 machine, I wrote a simple C program that takes
two text files as input, performs some calculations, then produces a
text file that contains the results. It worked fine on that machine.
Recently, however, I obtained a new Windows XP machine, and the program
is not working correctly on my new computer computer. On the new XP
machine, I'm running the program in the DOS window, as before, and the
program does execute and produce an output file, however the file is
empty.
I tried the following, but the results were unchanged:
1. Compiling it on the new machine
2. Changing the location of the input files, and thus the directory
path, so that there were no spaces in the path, i.e., the default path
contained "documents and settings." (The program, itself, is in a
folder that is accessible from any location, and I have used other
programs within this same folder with associated input files in other
locations and it works fine, so that isn't the problem)
3. Logging in as administrator to see if there was a permission problem
The program was created in Borland C++ 5.02.
Any ideas? Is there something obvious that I'm overlooking?
Thanks for your time.
DM