Solved

Text Files handling with Win95 and WinNT

Posted on 1997-06-06
3
211 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

861 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