.Net 调用其他的dll

.Net调用其他语言写的dll 不过要知道方法名和参数列表

 class Card
    {
          [DllImport("hdr__wc.DLL",SetLastError=true)]
        public  static extern int init_com(int   init);
         [DllImport("hdr__wc.DLL",SetLastError=true)]
        public  static extern int sele_card( int m);


    }

Card.init_com(0);

原文地址:https://www.cnblogs.com/http-www/p/3445624.html