积极答复者
请问Ax开头的DLL跟没有Ax开头的DLL的区别

问题
答案
-
桦仔,
您好!像mazhou所讲的,Ax开头的dll表示应用程序使用一个ActiveX控件。
使用solution explorer 中的来自.NET的COM dll, 并添加到您的工程(从com的标签中选择dll )。这样VS就会自动生成RCW Interop.xxx.dll.
当我们使用ActiveX 控件,当我们把控件添加到一个form中,Visual Studio.NET就会产生RCW AxInterop.xxx.dll.
参考资料:
.NET Interop:http://msdn.microsoft.com/en-us/magazine/cc301750.aspx
What is the difference between AxInterop and Interop?
http://stackoverflow.com/questions/2287839/what-is-the-difference-between-axinterop-and-interop
Lucy
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Steven.桦仔 2011年6月5日 8:05
全部回复
-
桦仔,
您好!像mazhou所讲的,Ax开头的dll表示应用程序使用一个ActiveX控件。
使用solution explorer 中的来自.NET的COM dll, 并添加到您的工程(从com的标签中选择dll )。这样VS就会自动生成RCW Interop.xxx.dll.
当我们使用ActiveX 控件,当我们把控件添加到一个form中,Visual Studio.NET就会产生RCW AxInterop.xxx.dll.
参考资料:
.NET Interop:http://msdn.microsoft.com/en-us/magazine/cc301750.aspx
What is the difference between AxInterop and Interop?
http://stackoverflow.com/questions/2287839/what-is-the-difference-between-axinterop-and-interop
Lucy
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Steven.桦仔 2011年6月5日 8:05