Re: [NTLK] Dragon Package

From: Laurent Daudelin (laurent_daudelin_at_fanniemae.com)
Date: Fri Sep 07 2001 - 11:42:10 EDT


on 9/7/01 7:15 AM, Roman Tarnovetsky at romantic_at_arvotek.net wrote:

> there isn't a resource fork in a (.pkg) file, you don't want
> ResEdit to add one, unless you know what you're doing...
>
> -Laurent.
>
> Thanks for the explanaition Laurent..What about the data that is
> invisible in RezEdit, is that normal too? Roman

Yes. You know, on a Macintosh, files are really split in 2 files, a data
fork and a resource fork. The resource fork was created for the Macintosh
introduction in 1984. The idea for the resource fork was to have a set of
known standards for resources that relate to a file. Apple did introduce
quite a few resource types and all developers did follow. That's why almost
all applications, for instance, have 'code', 'dlog', 'menu', etc. resources
types, and that's why you can open those resources in ResEdit (or
Resorcerer). For example, to define a window, Apple decided on a structure
and named it 'WIND'. So, the resource manager on the Mac can access that
structure and draw the window for the application. That was one of the
factor that originally contributed to the consistency across all
applications on the Macintosh. Another good thing was that since a lot of
the code to create thingies from those resources was in the Macintosh ROM,
the compiled applications didn't have to include the compile code to handle
those resources, resulting in smaller applications on disk.

-Laurent.

-- 
=====================================================================
Laurent Daudelin              Developer, Multifamily, ESO, Fannie Mae
mailto:Laurent_Daudelin_at_fanniemae.com             Washington, DC, USA
********************** Usual disclaimers apply **********************
"Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe, trying to produce
bigger and better idiots. So far, the Universe is winning."
-Rich Cook

-- This is the Newtontalk mailinglist - http://www.newtontalk.net To unsubscribe or manage: visit the above link or mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe



This archive was generated by hypermail 2.1.2 : Wed Oct 03 2001 - 12:01:32 EDT