Compilers for external dll

Mark Wieder mwieder at ahsoftware.net
Mon Aug 16 00:20:52 EDT 2004


Alejandro-

Sunday, August 15, 2004, 5:24:23 PM, you wrote:

AT> Knowledge about how to pass C strings,
AT> strings terminated in nulls, that is the
AT> unlocking piece for this Pascal dll.

The last time I checked, Pascal used strings that had a length byte as
their first character, instead of being null-terminated. The
conversion from one form to the other is pretty easy.

At one time I used a hybrid string form internally:
length + string + null termination

and I could then use it as a pascal string or a C string, depending on
whether I specified it starting at byte 0 or byte 1.

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list