Reply To: dll passing ASCIZ string to Multi-Edit

Product Compare Forums Multi-Edit Support dll passing ASCIZ string to Multi-Edit Reply To: dll passing ASCIZ string to Multi-Edit

#3766
ReidSweatman
Participant

It turns out that there are several predefined string lengths internally, although the most-commonly used one has a length of 16 KBytes (one of the other sizes, oddly, accounts for the few places where things default down to 254 characters).

As for C-style ASCII-z strings, there’s only one place they’re supported, and that’s in the dll import interface. That’s why the examples you mentioned all involved inported functions. There’s no other place in CMac you can use them. I suppose it would be possible to write a new set of functionality for the kernel to handle them generically, but it’s not there as is, and I doubt many people would argue that it should be. Not even me, and assembler and I go a long ways back. :D