VS2005中如何引用dll?
与VS2003一样吗?
VS2003:
[System.Runtime.InteropServices.DllImport("MyDllName.dll")]
private static extern int Method()/Function();
VS2005:
?
?
问题点数:20、回复次数:7Top
1 楼VirtualDesktop(^_^)回复于 2006-12-01 17:15:09 得分 4
一样Top
2 楼wonderful_abc(海盗)回复于 2006-12-01 17:37:35 得分 0
不行,提示说:
dll里的方法没有实现(没有 RVA)。
何解?Top
3 楼Love_My()回复于 2006-12-01 17:45:20 得分 4
?? 应该是一样的 .. 你确定下你变量的类型Top
4 楼Csharpbull(中忠)回复于 2006-12-01 21:59:16 得分 4
一样的
顶Top
5 楼cangwu_lee(橙子)回复于 2006-12-01 22:48:41 得分 4
是一样。Top
6 楼ilove8(千里|你去哪里了,我等了你很久了!)回复于 2006-12-02 10:20:00 得分 4
一样Top
7 楼wonderful_abc(海盗)回复于 2006-12-04 10:52:40 得分 0
莫非private static extern int Method()/Function();有问题?
Top





