摘要: DllImport是System.Runtime.InteropServices命名空间下的一个属性类,其功能是提供从非托管DLL导出的函数的必要调用信息。 DllImport属性应用于方法,要求最少要提供包含入口点的dll的名称。 DllImport的定义如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->[AttributeUsage(AttributeTargets.Method)] publicclass DllImportAttr 阅读全文
posted @ 2012-11-01 14:53 想飞的水 阅读(160) 评论(0) 推荐(0) 编辑