Excellent, I'll do this: 1) compile (or "freeze" for the Python users out there) my python scripts for each platform (OS X, Windows, Linux) and 2) copy each file to the project, then 3)compile the app and voila, I should have it. We'll see how that goes. ;)

Thanks for the help!
Michael
        
On Mar 26, 2006, at 6:46 PM, realbasic-nug- [EMAIL PROTECTED] wrote:

From: [EMAIL PROTECTED]
Date: Sun, 26 Mar 2006 17:57:03 -0500

Excuse me for my "spell-it-out-ism", but you're saying that I can
compile an application and have RB "compile" it into another
application?  And if it doesn't recognize it, I "write it out"
again as another binary to use later?

That's exactly what I thought when I first heard about it!  But yes,
you can "store" a file inside your compiled application, and you can
write it to the hard drive as a binary file.

A common use for this feature is when you have a default, or blank,
file, for example, a database.  Instead of creating a new one from
scratch, which could take a significant amount of code, you simply
write the copy that's embedded in your app to the hard drive as a file.

When the file is compiled in your app, it is available as a string if
RB doesn't know what it is.  Since a string is actually binary data,
it makes sense that the file can remain intact inside your app as a
string.  To write it to the hard drive, simply pass the string to a
BinaryStream that is set up for writing to the hard drive in a file.


Andrew Keller

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

Reply via email to