Unmanaged Exports: Cannot compile assembly

后端 未结 4 1692
野趣味
野趣味 2020-12-16 07:15

I want to create a .NET assembly that can be accessed from unmanaged code (Delphi 5).

I have found Unmanaged Exports and followed the steps there but I am unable to

4条回答
  •  独厮守ぢ
    2020-12-16 07:46

    If anyone also encounters it , i also got this error when the exported function name was "init" so changing the name fixed the problem.

    So this produces such an error:

    [DllExport("init")]

提交回复
热议问题