dll strings?
Posted: Wed Nov 01, 2006 1:48 pm
Hi,
in converting egrid to a dll in order to target other development languages, I have a couple of exported functions which either take strings as parameters or return strings.
I was wondering as to the best way of doing this, bearing in mind that the dll could (fingers crossed!) be used in other languages?
Should I use and insist upon pointers to null-terminated strings and memory buffers etc?
Or can certain other languages just pass a string in the same way that PB does and in the correct format?
Afraid I have little experience (well no experience actually!) of such things and I don't know enough about how other languages handle strings.
Thanks in advance for any advice.
in converting egrid to a dll in order to target other development languages, I have a couple of exported functions which either take strings as parameters or return strings.
I was wondering as to the best way of doing this, bearing in mind that the dll could (fingers crossed!) be used in other languages?
Should I use and insist upon pointers to null-terminated strings and memory buffers etc?
Or can certain other languages just pass a string in the same way that PB does and in the correct format?
Afraid I have little experience (well no experience actually!) of such things and I don't know enough about how other languages handle strings.
Thanks in advance for any advice.