Externals written in not(c)

Dar Scott dsc at swcp.com
Tue Jan 4 19:57:37 EST 2005

On Jan 4, 2005, at 5:25 PM, Gordon Webster wrote:

> I'm not clear from your reply though, what it is I
> actually need in my DLL ... let's say I just want to
> write a single test function for multiplying two
> numbers together - I will export this in my DLL, but
> what else do I need?
>> You need
>> to export a single function that provides all the
>> calling info.
> Could you elaborate?

Uh, not very well.

You need to export getXtable.  See the external C core files.  I don't 
know how to do that from a Basic DLL.

I'd still lean toward making a glue external, but if I did this it 
would depend on what I find out from looking at the Basic dll format.

I think it might be easier to take a simple external example (in C) and 
learn just enough C to do the math functions.

If you are passing a large collection of vectors and get a large 
collection back, you need to address the representation of that.

If you are pass a single 3D vector and some transformation values and 
getting a vector back, I'd think on optimizing the Transcript.


     DSC (Dar Scott Consulting & Dar's Lab)
     Programming Services and Software

More information about the Use-livecode mailing list