Launch Dll using C# program

前端 未结 9 877
你的背包
你的背包 2021-01-06 08:52

I have a C# form application...i created a Dll...now i want to launch that dll using this program. how do i do it?

#include 

typedef int (*         


        
9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-06 09:09

    In your C# application, add a reference to the assembly you created (the DLL). You can do this through the solution explorer window - right click on references, and say "Add Reference..." and choose your DLL.

    At that point, you can add "using YourDllNamespace;" at the top of your C# form's class, and use the types defined within the DLL as needed.

提交回复
热议问题