Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!news From: d88-jwa@dront.nada.kth.se (Jon W{tte) Newsgroups: comp.sys.mac.programmer Subject: Re: Okay, so how do I use PBGetCatInfo in Think C? Keywords: Secret Think C Glue? :^) Message-ID: <1990Sep23.085703.5933@nada.kth.se> Date: 23 Sep 90 08:57:03 GMT References: <11331@spool.cs.wisc.edu> Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 28 In article <11331@spool.cs.wisc.edu> elliott@veronica.cs.wisc.edu (James Elliott) writes: Okay. I seem to be missing something. Inside Mac volume IV describes all these fancy new functions for interacting with the file manager under HFS. Unfortunately, they all involve these ghastly huge parameter blocks that I'd rather not have to learn to deal with, Apparently I'm not the only person who feels that way, since it seems that Think C has glue to call at least some of these routines in a more simple way. For example, the routine PBHGetFInfo seems to be callable as just HGetFInfo, and instead of passing a HParmBlkPtr and a Don't I know where to look? Or is there some little manual I'm missing? The answer is a very simple one. Apple provided the new calls. They are documented in TechNote 218, "New High-Level File Manager Calls" I hope they will get into Inside Macintosh volume VI at some point in the future (or, rather, that I'll get hold of this publicatino...) h+ Jon W{tte, Stockholm, Sweden, h+@nada.kth.se