www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/03/12:50:48

From: Bernhard Baeumle <bb AT ife DOT ee DOT ethz DOT ch>
Newsgroups: comp.os.msdos.djgpp
Subject: HELP: cannot read file while opened in word!?!
Date: Wed, 02 Apr 1997 19:23:51 +0200
Organization: Electronics Lab
Lines: 37
Message-ID: <33429627.50B1@ife.ee.ethz.ch>
NNTP-Posting-Host: quincy.ee.ethz.ch
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi folks.

I desperately need your help!

I have: 
- djgpp-v2
- running my program in a dos-box under windows95
- I edit a file with MS-Word for Windows95, and
  save this file again (text-only).

===> From my djgpp-program I cannot even open this 
file for reading (as long as it's opened with Word).
Note: fopen("test.txt", "r") returns NULL   !?!?!?

Of course I heard of things like "file-locking" but at 
least I would like to READ a file that is opened with 
Word or any other application.

PLEASE HELP:
- is there a work-around how I can read such a file
  with djgpp????
- is there a option in Word for Windows95 or
- is there a option in Windows95 that allows me to
  read this file with djgpp!?????

PLEASE DO NOT argue about MS, Win95 or Word -- I'd love
to kick it off my disk but I can't... So please help
me to ease my pain!

Thanks!
  Beni.

/ Bernhard Baeumle
| Swiss Fed. Inst. of Technology    Phone: (+41) 1 632 51 53
< Electronics Lab, ETZ H60.1        FAX:   (+41) 1 632 12 10
| Gloriastrasse 35                  baeumle AT ife DOT ee DOT ethz DOT ch
\ 8092 Zuerich / SWITZERLAND        http://www.ife.ee.ethz.ch/~bb

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019