Le 2 mai 06 à 17:07 Soir, Charles Yeomans a écrit:
On May 2, 2006, at 10:53 AM, Arnaud Nicolet wrote:
Le 2 mai 06 à 16:39 Soir, Barry Traver a écrit:
I may have asked this before, but if so, I haven't been able to
track down where the answer can be found.
I'd like to write an RB program that will run directly from a CD-
ROM. Here's my problem. The program involves writing temporary
files, and by definition a "CD-ROM" is "RO," i.e., "Read-Only,"
so the temporary files will have to be written elsewhere. How do
I tell the computer (which could be a Mac, Windows, or Linux) to
do that?
Thanks!
You can use:
dim f As folderItem
f=volume(0).TemporaryFolder
(which references the "TemporaryItems" on the volume(0)).
Since the startup volume is always writeable, it works.
Unless you boot from the CD, and there are no other drives
attached, if this is possible.
It's possible. On Mac OS X, you can make your own bootable CD, but,
in my experience, Mac OS X creates folders (or diskimages, I don't
recall) which simulate some folders which need to be writeable (the
temp folder was one of these). I tell from memory, it might be wrong.
For Mac OS classic, if the user starts from a CD and there are no
other drives attached, the I wonder how he could launch an RB
application.
But you're indeed right, there is certainly a way to have a
problem._______________________________________________
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>