Home > Back-end >  Call external DLL problem..
Call external DLL problem..

Time:09-24

[DllImport (@ "C: \ GMC \ pos. DLL, EntryPoint=" Posall CharSet=CharSet. Ansi)]
Private static extern int Posall (String the req, StringBuilder res);

This is a c # call format, above, StringBuilder res is assigned by function value

Excuse me how to call in Delphi 7,

CodePudding user response:

Can't use ah, DLL is c # to do,

C # the StringBuilder in Delphi can't use it

CodePudding user response:

reference 1st floor linuxpingwangping response:
can't use ah, DLL is c # to do,

C # the StringBuilder in Delphi can't use it


Should be written by c #, c # call,
I don't know if there is any data type in Delphi and StringBuilder similar,

CodePudding user response:

The dynamic library source code?

CodePudding user response:

You should get free demo upload to help you
  • Related