OS X Externals
briany at qldlearning.com
Mon Nov 1 23:46:52 CST 2004
FWIW, binary values can be passed in externals using the MCString
structure and the GetXVariable / SetXVariable callbacks- there is an
example in the SDK albeit non-obvious.
You mentioned problems with binary data especially from images on Mac-
any chance you haven't accounted for imageData coming in opposite order
on Mac versus Windows (i.e. red-green-blue versus blue-green-red). Just
a shot in the dark...
> with a wrapper written in Transcript which basically dumps the arg
> into a variable, which in turn is read by the external; the code is
> posted as part of the bugzilla report (#2308)
> On Nov 1, 2004, at 2:24 PM, Dar Scott wrote:
>> I have heard rumors of a method for passing binary data as an arg,
>> but I don't know how it works.
>> My external SDK says data is a null terminated string. That means no
>> binary. (Without some method to avoid nulls.)
>> How are you passing binary as an arg?
> Frank D. Engel, Jr. <fde101 at fjrhome.net>
> $ ln -s /usr/share/kjvbible /usr/manual
> $ true | cat /usr/manual | grep "John 3:16"
> John 3:16 For God so loved the world, that he gave his only begotten
> Son, that whosoever believeth in him should not perish, but have
> everlasting life.
> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer
> 10 Personalized POP and Web E-mail Accounts, and much more.
> Signup at www.doteasy.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode