Many thanks for your suggestions and code snippets I've been told that this dll will be called by a program written in C. <ouch>
I have decided to use Pchar for both input and return. The input will be a string of 4 digits [Unicode values] per character and output will be a string of four digits for each character [Cmap position] after translation with the first four digits being the length of the returned string. It's a little cumbersome but seems to be working for initial tests. Needless to say any futher suggestions are welcome. This project will be a major headache as I'm trying to emulate Windows uniscribe functionality for a product that does not support this. Any pointers/URLS [apart from MSoft] you can suggest for Uniscribe would be very welcome indeed. regards Neil _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi