摘要
VisualStudio.NET向开发人员提供最具效率的工具,用于为MicrosoftWindows和Web创建下一代应用程序。WindowsAPI函数则为程序开发人员提供了火力强大的“武器库”。由于WindowsAPI函数是以动态链接库的形式存在的,因此在VisualStudio.NET中调用这些非托管形式的函数较为复杂。文章主要通过若干VisualBasic.NET实例探讨了在VisualStudio.NET环境下使用WindowsAPI的方法、使用过程中的关键问题及若干原则。
Microsoft Visual Studio.NET,as a complete set of tools for developing enterprise solutions,is the most produc-tive tools for building tomorrow's web applications.At the same time ,Windows API is a rich resource for developers.But how to call unmanaged functions implemented in dynamic link libraries(DLLs ),such as those in the Windows API ,and invoke an exported function and marshal its arguments across the interoperation boundary as needed is complex rela-tively.This paper mainly focuses on discussing the techniques of consuming those unmanaged functions with Visual Stu-dio.NET.Therefore,several instances implemented with Visual Basic.NET and the related pivotal protocols will be offered.
出处
《计算机工程与应用》
CSCD
北大核心
2004年第12期108-111,163,共5页
Computer Engineering and Applications
基金
国家自然科学基金项目(编号:10101008)