OS X Externals

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Oct 18 18:16:06 CDT 2004


My C function for dbBLOB is giving different results for some input 
values than is the Transcript function.  I am handing image data to the 
function (dbBLOB(image "name")).

My C function for dbUNBLOB gives the same results as the Transcript 
function; if I take the results from the C version of dbBLOB, run it 
through either dbUNBLOB, and try to put that into an image, it does not 
work.  If I take the results of the Transcript dbBLOB and run them 
through either dbUNBLOB, then put those results into an image, it works 
perfectly (but getting the dbBLOB results is very very slow).  Rev 
seems to replace certain values in the binary code of the image when it 
is accessed from an external, at least on my system.

Note that passing simple text strings into either function yields the 
same results, it is only when I use binary data, such as an image, that 
I am seeing the problem.

Are you also using OS X, or are you working on another platform?  I 
wonder if it is a Mac or OS X platform-specific thing, but I haven't 
been able to compile under Windows yet, so I can't confirm this.

On Oct 18, 2004, at 7:06 PM, Mark Wieder wrote:

> Frank-
>
> I got curious about your externals problem and cobbled together a test
> stack and external library from your sources. Works fine for me (at
> least once I get my head wrapped around reading octal again). I can't
> explain why you're seeing different results.
>
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net
>
> _______________________________________________
> 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