积极答复者
vb怎么调用dll?

问题
答案
-
这个问题比较泛泛,首先,你的dll是托管的还是非托管的,这个区别很大。
如果是托管的可以通过添加引用至项目组,using xxx,然后就可以使用里面的类,方法,等等。
如果是非托管的dll,需要wrapper,添加至你的项目就可以引用了。
http://support.microsoft.com/kb/106553
Paul Zhou [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.
-
非托管的接口也有多种,比如COM、C函数
找DLL作者要个示例吧,
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP
全部回复
-
DLL提供了什么接口?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP -
这个问题比较泛泛,首先,你的dll是托管的还是非托管的,这个区别很大。
如果是托管的可以通过添加引用至项目组,using xxx,然后就可以使用里面的类,方法,等等。
如果是非托管的dll,需要wrapper,添加至你的项目就可以引用了。
http://support.microsoft.com/kb/106553
Paul Zhou [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.
-
非托管的接口也有多种,比如COM、C函数
找DLL作者要个示例吧,
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP