Hi all,
I have a problem with loading the Delphi 7 dll in to my C# project! The dll delphi structure is as follows:

ShortString myfunction(shor tstring par1, shortstring par2, shortstring par1);

I read somwhere that C# represenatation of ShortString is byte array so I did the following:

[DllImport("xxyy yykg.dll", EntryPoint = "NewLic", CallingConventi on = CallingConventi on.StdCall,...