在c#怎样调用非com和net形式的dll
 [DllImport("aaa.dll")]
下面不知道怎么写了

解决方案 »

  1.   

    [DllImport("User32.dll")]
       public static extern int MessageBox(int h, string m, string c, int type);
      

  2.   

    在aaa.dll中有一个函数page(string a,bool b),返回类型为bool,怎么样调用呢,请哪们大哥指点一下,谢谢
      

  3.   

    在一个类下面
    [DllImport("aaa.dll")]
    public static extern bool page(string a,bool b);