首页 | 本学科首页   官方微博 | 高级检索  
     

在Visual Studio.NET中有效利用Windows API资源
引用本文:胡智文,陈国龙.在Visual Studio.NET中有效利用Windows API资源[J].计算机工程与应用,2004,40(12):108-111,163.
作者姓名:胡智文  陈国龙
作者单位:1. 中国科学院离子束生物工程学重点实验室,合肥,230031;淮北煤炭师范学院计算机科学与技术系,淮北,235000
2. 淮北煤炭师范学院计算机科学与技术系,淮北,235000
基金项目:国家自然科学基金项目(编号:10101008)
摘    要:VisualStudio.NET向开发人员提供最具效率的工具,用于为MicrosoftWindows和Web创建下一代应用程序。WindowsAPI函数则为程序开发人员提供了火力强大的“武器库”。由于WindowsAPI函数是以动态链接库的形式存在的,因此在VisualStudio.NET中调用这些非托管形式的函数较为复杂。文章主要通过若干VisualBasic.NET实例探讨了在VisualStudio.NET环境下使用WindowsAPI的方法、使用过程中的关键问题及若干原则。

关 键 词:Visual  Studio.NET  Windows  API  托管  封送
文章编号:1002-8331-(2004)12-0108-04

Effective Consuming Windows API Functions with Visual Studio.NET
Hu Zhiwen , Chen Guolong.Effective Consuming Windows API Functions with Visual Studio.NET[J].Computer Engineering and Applications,2004,40(12):108-111,163.
Authors:Hu Zhiwen  Chen Guolong
Affiliation:Hu Zhiwen 1,2 Chen Guolong 21
Abstract: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.
Keywords:Visual Studio  NET  Windows  API (Application Programming Interface)  Managed  Marshal  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号