你考过来就行了` 在命名空间那里写 using cards.dll 就行了`~ 可能VISTA不行`不过你可以试试
把cards copy到本地,然后在你的项目中添加引用.
在你的项目中添加cards.dll的引用.
using System.Runtime.InteropServices;举例子,动态载入 [DllImport("cellcore.dll")] public static extern int SimInitialize(uint dwFlags, int lpfnCallBack, uint dwParam, ref int lphSim);
[DllImport("cellcore.dll")]
public static extern int SimInitialize(uint dwFlags,
int lpfnCallBack, uint dwParam, ref int lphSim);