home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13198 < prev    next >
Encoding:
Text File  |  1992-07-30  |  2.2 KB  |  47 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!belfst.enet.dec.com!mccorry
  3. From: mccorry@belfst.enet.dec.com (Kieran G Mc Corry)
  4. Subject: Folder Dir
  5. Message-ID: <1992Jul30.103128.24748@nntpd.lkg.dec.com>
  6. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  7. Reply-To: mccorry@belfst.enet.dec.com
  8. Organization: Digital Equipment Co. Ltd.
  9. Date: Thu, 30 Jul 1992 10:31:28 GMT
  10. Lines: 35
  11.  
  12.  
  13.  
  14.  
  15. Hi All,
  16.  
  17. I'm sure some of you will be able to srot this out pretty quickly.
  18.  
  19. I am using PathWorks for Macintosh to create files on a VAXshare volume by an application program on the VAX.
  20.  
  21. I then want to read my files by a Think 'C' program on the Macintosh. My problem is this. When I try to open the files I get a FILE NOT FOUND  error since the Mac doesn't know about the files yet. But if I first use the Finder on the ma c to look at the folder, subsequent attempts to read the file will work since the server then knows about the file.
  22.  
  23. My workaround to this is to first do a directory search of the folder from the 'C' code on the Macintosh. However, I have looked through my Inside Macintosh volumes but I just can't seem to find out how to do a directory search. Am I missing something silly?
  24.  
  25. Please, can you tell me how to do this from a piece of 'C' code. I really don't know the Macintosh filesystem internals too well so please don't assume too much in your reply.  Thanks in advance.
  26.  
  27. An emailed response would be nice!
  28.  
  29. Regards
  30. Kieran.
  31.  
  32. +---------------------------------+-------------------------------------------+
  33. | Kieran G Mc Corry,              | mccorry@belfst.enet.dec.com               |
  34. | Digital Equipment Co. Ltd.      | mccorry@bvo.mts.dec.com                   |
  35. |                                 | ...!decwrl!belfst.enet.dec.com!mccorry    |
  36. |                                 | TEL: + 44 232 381381 ext. 266             |
  37. +---------------------------------+-------------------------------------------+
  38. |I speak for myself here, so none |"I can resist everything except temptation"|
  39. |of this rubbish belongs to DEC ! |                         - Oscar Wilde     |
  40. +---------------------------------+-------------------------------------------+
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.