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
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to