.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);

posted @ 2013-11-27 14:29  live in finally  阅读(344)  评论(0编辑  收藏  举报