How can a C++ windows dll be merged into a C# application exe?

后端 未结 8 1397
心在旅途
心在旅途 2020-11-28 05:23

I have a Windows C# program that uses a C++ dll for data i/o. My goal is to deploy the application as a single EXE.

What are the steps to create such an executable

8条回答
  •  暖寄归人
    2020-11-28 06:05

    Thinstall is one solution. For a native windows application I would suggest embedding the DLL as a binary resource object, then extracting it at runtime before you need it.

提交回复
热议问题