Call delphi .dll

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?
 
G

Guest

for some reson the speachmarks in my post have turned into "
please substitute when reading !!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top