Compilers for external dll

Mark Wieder mwieder at
Sun Aug 15 23:20:52 CDT 2004


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

More information about the use-livecode mailing list