Call delphi .dll

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I need to call 2 functions from an old Delphi .dll
but am struggling to formulate my call to the second one :(

I have managed to one of them as follows:
// definition from .dll
function FullName:pchar; export;
// my code
[DllImport("qn.dll",
CharSet=CharSet.Ansi,CallingConvention=CallingConvention.StdCall)]
public static extern string FullName();

but I need help formulating the next one
// definition from .dll
function DiskSaveFooter(missionname,qlffilename,id:pchar):TCharArray; export;

Can anyone offer me some assistance please?
 
for some reson the speachmarks in my post have turned into "
please substitute when reading !!
 
Back
Top