Unmanaged Exports: Cannot compile assembly

后端 未结 4 1701
野趣味
野趣味 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 08:02

    Incidentally, I just updated the archive. You can even get it all laid out for you, when you take this instead.

    It's a project template that sets everything up and should work just fine.

    I did find some points in the previous version, where I made some assumptions that weren't always true. And one potential problem with my previous implementation was the /optimize switch which is used for release configurations. Sometimes ILAsm would choke on the IL in that case, I haven't seen that with the new version.

提交回复
热议问题