Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Matt Neuberg's book, HQX files, and Windows RB (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Find window going wild
Next thread: Help - Character code for Delta(Triangle)


Re: Recursion of Recursion of Recursion....of RecusionX   -   Joseph J. Strout
  Matt Neuberg's book, HQX files, and Windows RB   -   Barry Traver
    Re: Matt Neuberg's book, HQX files, and Windows RB   -   Phil M
    Re: Matt Neuberg's book, HQX files, and Windows RB   -   Joseph J. Strout

Matt Neuberg's book, HQX files, and Windows RB
Date: 03.02.06 18:31 (Fri, 03 Feb 2006 12:31:55 -0500)
From: Barry Traver
I own Matt Neuberg's book REALbasic: The Definitive Guide (2nd edition),
and I just discovered that the files for the book are available for
download from his Web site at this URL:

http://www.tidbits.com/matt/rbExamplesTocNew.html

My problem is that I'm running Windows and don't know (1) how to unpack
an HQX file (although my guess is that it's similar to a ZIP file or a
SIT file) or (2) whether what I get when I unpack the HQX files will be
anything I can make use of in my Windows version of RB 2006.

From what I understand, the unpacked files may be in a binary format
that only a Mac can handle rather than like the current RB or XML files
that Windows can follow. In fact, Matt himself says this: "Bear in
mind that you will need REALbasic 3.2 (beta or final) to open these
projects." (The earliest version I have of RB is 5.5.r.)

Is it true that REALbasic 3.2 can save RB programs as XML files? If so,
can those XML files be read by RB 5.5.4?

Any advice will be greatly appreciated. Thanks!

Barry Traver

_______________________________________________
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>

Re: Matt Neuberg's book, HQX files, and Windows RB
Date: 03.02.06 18:49 (Fri, 3 Feb 2006 09:49:28 -0800)
From: Phil M
On Feb 3, 2006, at 9:31 AM, Barry Traver wrote:

> My problem is that I'm running Windows and don't know (1) how to
> unpack an HQX file (although my guess is that it's similar to a ZIP
> file or a SIT file) or (2) whether what I get when I unpack the HQX
> files will be anything I can make use of in my Windows version of
> RB 2006.

".hqx" is an old 7-bit format to protect it from systems which could
not handle 8-bit data. While it was primarily used on the Macintosh,
the data that it was protecting could be any file or format but is
most likely ".sit".

StuffIt (www.stuffit.com) has a Windows version, and a free expander
utility which should extract these files for you; but will strip off
any Macintosh Resources.

> From what I understand, the unpacked files may be in a binary
> format that only a Mac can handle rather than like the current RB
> or XML files that Windows can follow. In fact, Matt himself says
> this: "Bear in mind that you will need REALbasic 3.2 (beta or
> final) to open these projects." (The earliest version I have of RB
> is 5.5.r.)

I think that the REALbasic file format would still be able to be
opened by your Windows version once you extract it. But I would not
expect all of the projects to compile if they depend on Macintosh
Resources, and for changes in the REALbasic language since the book
came out.

_______________________________________________
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>

Re: Matt Neuberg's book, HQX files, and Windows RB
Date: 03.02.06 18:50 (Fri, 3 Feb 2006 10:50:17 -0700)
From: Joseph J. Strout
At 12:31 PM -0500 2/3/06, Barry Traver wrote:

>My problem is that I'm running Windows and don't know (1) how to
>unpack an HQX file (although my guess is that it's similar to a ZIP
>file or a SIT file)

Yes, it is (or used to be) a standard way of packing up files on the
Mac so as to preserve resource forks and file metadata. Your best
bet is probably to get StuffIt Expander for Windows, which I bet can
unpack HQX even on Windows.

> or (2) whether what I get when I unpack the HQX files will be
>anything I can make use of in my Windows version of RB 2006.

Hmm, that's actually a good question -- if it's the old REALbasic
2.1.2 file format, then no, that won't work on Windows. If the files
were created with REALbasic 3.0 or later, then they should work fine.

>In fact, Matt himself says this: "Bear in mind that you will need
>REALbasic 3.2 (beta or final) to open these projects." (The
>earliest version I have of RB is 5.5.r.)

Ah, you should be fine then.

>Is it true that REALbasic 3.2 can save RB programs as XML files? If
>so, can those XML files be read by RB 5.5.4?

Well, yes (or at least, I think it can), but what's the point? The
binary file format is just as compatible.

Best,
- Joe