Calling a Delphi DLL from a C# .NET application
Based on responses to my post, I have created a new example that uses string buffers for the returned strings, instead of just returning PAnsiChars. Delphi DLL source: library DelphiLibrary; uses SysUtils; // Compiled using Delphi 2007. // NOTE: If your project doesn’t have version information included, you may // receive the error “The “ResolveManifestFiles” … Read more