realbasic-nug
[Top] [All Lists]

Re: Encodings, Trademarks, Files, and POSIX

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Encodings, Trademarks, Files, and POSIX
From: Joe Strout <joe@inspiringapps.com>
Date: Thu, 30 Apr 2009 15:16:04 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <20090430204234.5B531427E9B4@mail.flattopinc.com>
Organization: Inspiring Applications, Inc.
References: <EFBD2814-7A6E-48B3-B747-ECBF3EF95BFA@oofile.com.au> <1iyzxxl.1a86lsfrb63cuM%realbasiclists@monkeybreadsoftware.de> <20090430204234.5B531427E9B4@mail.flattopinc.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
Rubber Chicken Software Co. wrote:

Let's say I have a FolderItem in RB, and I have a dylib written in C++ that calls the POSIX function lstat() (or stat()) to verify the existence of the file.

Er... can we stop here and explore why you're going to such great lengths? What does lstat or stat do for you that, say, .Exists does not?

-I take the AbsolutePath of the folder item

Yikes. If you do invoke a Unix routine, I would expect it to want a ShellPath, not an AbsolutePath.

And I have no idea what encoding it would want... probably whatever's stored on the operating system, but that could be almost anything.

Best,
- Joe

--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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