CodePudding user response:
Can, if you don't provide dynamic link library, you can use c + + compiler to generate dynamic link libraries first to Delphi calls,CodePudding user response:
Obviously is support, support for c + +, can basically to DelphiCodePudding user response:
Can, if you don't provide dynamic link library, you can use c + + compiler to generate dynamic link libraries first to Delphi calls,Upstairs, the method, I often use,
CodePudding user response:
Derivation of the c + + interface, Delphi to use can be tricky, but c + + builder export should be a little problem,In general the exported function is c, there is no question of Delphi calls, but has a big difference between c + +,
CodePudding user response:
Support for c + +, basically can use in Delphi,CodePudding user response:
Several circumstances,1. If just like WindowsSDK type, function, Interface, the statement of to Delphi call ok.
2. If it is an abstract class, the function calling convention is stdcall, cdecl such standard calling conventions, also no problem.
3. If it is a common class, or an abstract class but calling convention is unique, can't. (VC the member functions of the default calling convention is unique to the VC, call for others to add cdecl stdcall or keywords)