Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Text Files handling with Win95 and WinNT

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
brutus
Asked:
brutus
  • 2
1 Solution
 
ygolanCommented:
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
 
brutusAuthor Commented:
You solved my problem!
0
 
ygolanCommented:
Which one was it - the first or the 2nd ?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now