OS X Externals

Frank D. Engel, Jr. fde101 at fjrhome.net
Tue Nov 2 09:03:24 EST 2004


I'm not using the imageData; I'm using the text property.  I need to 
store the original image format in the database.  And by doing this, 
the byte ordering shouldn't be an issue.  I'll see what I can find out 
about the GetXVariable/SetXVariable functions.

Thank you.

On Nov 2, 2004, at 12:46 AM, Brian Yennie wrote:

> 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...
>
> - Brian
>
>> 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
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
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



More information about the use-livecode mailing list