Home > Back-end >  Consult the Delphi function pointer translated into c #
Consult the Delphi function pointer translated into c #

Time:10-10

TPreEvaInfoFunc=procedure (var ALst: an array of TPreEvaInfo; ACount: Integer); Stdcall;

C # is how to write? TPreEvaInfo is structure

CodePudding user response:

Public delegate void TPreEvaInfoFunc (ref TPreEvainfo [], int ACount);

CodePudding user response:

C # no pointer. So function Pointers can't translation.
Entrust the corresponding events should be upstairs.

CodePudding user response:

Can be used in the unsafe pointer, nor what tiger bottom
  • Related