Launch Dll using C# program

前端 未结 9 760
你的背包
你的背包 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条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 09:11

    You can use different methods, one is

    Assembly.Load 
    

    another is using a DllImport attribute:

    [DllImport("mylib.dll)]
    

提交回复
热议问题