Home > Back-end >  Excuse me Delphi xe how to generate a standard DLL, calls for PHP?
Excuse me Delphi xe how to generate a standard DLL, calls for PHP?

Time:11-12

Himself Delphi with a few, that the company have a project to dock with the PHP, need a encrypted DLL, written in Delphi for PHP calls, I tried several times all not line, there is no question of Delphi itself calls your DLL, but PHP error, which expert to explain

CodePudding user response:

Explain what? It must be you call a method wrong

CodePudding user response:

The functions and procedures are defined as within the DLL STDCALL

CodePudding user response:

String to use shortstring, string, and some don't,

CodePudding user response:

Main attention parameter types and return value types, some is not universal

CodePudding user response:

Don't mislead, don't use string, shortstring, pchar
  • Related