Solved

Text Files handling with Win95 and WinNT

Posted on 1997-06-06
3
209 Views
Last Modified: 2010-04-06
Hi Everyone!

I did an application that parses a text file to transfer the data to  a
paradox database.  When I run it on Win95, it works fine.  When I run it on
WinNT 4.0, I receive an I/O error 103.  My questions are:

- Is there a difference in file handling between Win95 and WinNT?
- How can I solve this problem?
- Where can I find documentation on such error codes?

Thank you for your help!!!

Eric Turcotte
eturcott@mobility.com
0
Comment
Question by:brutus
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
ygolan earned 100 total points
ID: 1336843
Yes, in WinNT 4.0 you need to take permissions into account - does your user have rights to access the file ?

Also, the urban legend is that you can simply ignore error 103 - try wrapping it in {$I-}..{$I+}, supposedly the file will get opened anyway.
0
 

Author Comment

by:brutus
ID: 1336844
You solved my problem!
0
 
LVL 1

Expert Comment

by:ygolan
ID: 1336845
Which one was it - the first or the 2nd ?
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Print Graphic and Text to Epson TM-T88v 12 259
Multiple image collision 13 75
Delphi Yen format 3 35
Dev express lookupcombo 3 28
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question