Help with C externals

Pete pete at mollysrevenge.com
Thu Mar 8 19:42:52 CST 2012


Done.  Although it looks like this goes back to 2005 so doesn't seem like
it's likley to get fixed after all this time.
Pete

2012/3/8 François Chaplais <francois.chaplais at mines-paristech.fr>

> please consider voting for report #2783 in quality center which calls for
> typed variables (an example being for passing parameters to externals)
> http://quality.runrev.com/show_bug.cgi?id=2783
> Best regards
> François
>
> Le 8 mars 2012 à 19:48, Paul D. DeRocco a écrit :
>
> >> From: Pete
> >>
> >> I guess the first thing I'm trying to ascertain is if it will
> >> be possible to call the C API's directly from LC or if there
> >> will have to be some intermediate external glue that sits
> >> between LC and the SQLite C API.
> >
> > I haven't written an external since Rev 3.5, but I don't think anything
> > fundamental has changed. Yes, you have to write a wrapper layer, because
> > everything called from LiveCode has to accept arguments and return
> results
> > as null-terminated ASCII strings. So you spend a lot of time converting
> > between decimal ASCII and binary, and so forth. (If current LC has
> advanced
> > beyond that, I'd be interested to hear.) But like I said, it's just
> > busywork, and on modern machines it's not so slow as to be a problem.
> >
> > --
> >
> > Ciao,               Paul D. DeRocco
> > Paul                mailto:pderocco at ix.netcom.com
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>


More information about the use-livecode mailing list