jicman Wrote: >other files. This file which this COM object uses as input I create using D. >This file is created by my doing a std.file.listdir(fd,"*") and then using imho, you should use std.windows.charset.toMBSz() while you pass string from D to Windows API, and std.windows.charset.fromMBSz() while you pass string back from Windows API to D