Solved

Text Files handling with Win95 and WinNT

Posted on 1997-06-06
3
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 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