realbasic-nug
[Top] [All Lists]

Re: How to read binary plist files with RB?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: How to read binary plist files with RB?
From: Thomas Tempelmann <tempelmann@gmail.com>
Date: Thu, 29 Jan 2009 23:33:35 +0100
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; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rmnfrsiifL7JOshat3eTtyoFyThXZMSbmtvXZx3mjNY=; b=rbeE3K+o7BiwHuTnYSWkRW6UH6gHIp8s/Y1xMU6O27NJQszdbN7vG4HWVLHUBy8uF6 JSTL1LDQ3u1RkzIoK2lgDyK7ccp3rmydsXah3oHr8dP8jfrwG5OYXDQ+uuQYsRgpnvdU FjjGBi8+o141HXqyPoZrYrYhyoUyVmtL50b54=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=NxaB08uLuNhQHvns9jeoM2bxt6qKzDu76nsR5iszJDr6vH1pBOMPhk555r0QQYYdpx ZE7HdJerUgNtY6M1KHY4ysrw1MrzF/gUkoKQVcoUJlq+N4V+Ig6q8P3/YyyHxA4StkBd CJPosJNTm9PMRxQZpbCGJgYq1zPzQnnG/sBK4=
In-reply-to: <B865E903-6074-4701-9523-6EC5718399F3@mac.com>
References: <30A06B96-3813-4053-BBF6-5C56253E7046@mac.com> <D90A202B-CB7B-4CDA-AC02-71966DBA2224@declareSub.com> <89fe53800901291101g4efabaccn6dccc04c187da216@mail.gmail.com> <B865E903-6074-4701-9523-6EC5718399F3@mac.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Here's an alternative suggestion:

>CFBundle.CarbonFramework.DataPointerNotRetained("kCFPreferencesCurrentApplication").
> This appears to be taken from the Bundle (by the way, it means I can't
> debug, just try in the built app).

You could try this:

duplicate CFPreferences, giving it your own unique name, then replace
the function's code in GetCurrentApplication with something like this:

dim bndl as CFBundle = CFBundle.NewCFBundleFromID (yourAppID)
return bndl.Reference

This should return the appID for a given bundle ID.

Not sure if this works, but it might (I did not test this)

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