Subj : Re: "Delphi" DLL To : Alexander Grotewohl From : Andy Gorman Date : Sat May 08 2021 18:50:04 On 08 May 2021, Alexander Grotewohl said the following... AG> is there a reason you're using PWideString? SysUtils has a StrPas AG> function that makes it fairly easy to do things like AG> UnicodeStringVar:=StrPas(AVal); where AVal is a PWideChar .. which is AG> usually enough for me to interact with C/C++ from pascal. Thanks for the direction. I got it to accept the full path by switching PWideChar. I'm now working on getting a return string from the DLL. AG> are you calling this from C# then? it would seem SetLength() is doing I am calling this from C# because I'm trying to make my life more challenging (and it's what I know) Thanks, Andy --- Mystic BBS v1.12 A47 2021/05/03 (Windows/64) * Origin: The Pot O'Gold - bbs.thepotogold.net:4888 (1:229/426.52) .