realbasic-nug
[Top] [All Lists]

Re: Packing any file in a stream (including resource forks)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Packing any file in a stream (including resource forks)
From: Björn Eiríksson <bjorn at einhugur dot com>
Date: Sat, 30 Jul 2005 22:07:02 +0000
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <75AC0F35-3650-4444-8491-1F38ABB496DC at mac dot com>
You have two options on those

Either use a ResourceStream plugin (we have one as well as others probably) or detect when its a Mac specific file and MacBinary encode the file in such cases (which will also preserve all other Mac specific flags)

Björn

--
______________________________________________________________________
Björn Eiríksson                            bjorn at einhugur dot com
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 48 countries world wide.
______________________________________________________________________
For support:                               support at einhugur dot com
To post on the maillist:                   einhugur at yahoogroups dot com


On 30.7.2005, at 21:08, Stefan Pantke wrote:

Hi,

I need to map/unmap  any Mac or Windows file into a sequence
of bytes.

Well, for Windows and most OS X files, this is straight forward.

For files having a resource fork, this isn't straigthforward to me.
Does someone has a code snippet for this task?

I'd even pay some buckets for such a feature, if it would be available
by means of a 'drop-in' code base.

Kinds
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>







_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>