This was a bit tricky, because of the use of AnsiString types and PChars in the original Pascal header conversions. I have it working, but I don't have much confidence it will work reliably with (say) filenames in Japanese. That will need some testing.