首页 | 官方网站   微博 | 高级检索  
     

DotNet使用C++类库的关键方法
引用本文:陆云龙.DotNet使用C++类库的关键方法[J].电脑编程技巧与维护,2010(12):18-19.
作者姓名:陆云龙
作者单位:湖南对外经济贸易职业学院,长沙,410015
摘    要:DotNet平台中,通常使用C#语言构建应用程序。C#调用C++动态链接库文件时,如果导出函数中涉及自定义类型指针形式的参数传递,需要使用C#中的IntPtr传递指针。在此给出了与C++的联合开发步骤。

关 键 词:DotNet  动态链接库  自定义类型

Key Methods of Using C++ Library in DotNet Applications
LU Yunlong.Key Methods of Using C++ Library in DotNet Applications[J].Computer Programming Skills & Maintenance,2010(12):18-19.
Authors:LU Yunlong
Affiliation:LU Yunlong(Hunan Foreign Economic Relations & Trade College,Changsha 410015)
Abstract:C# is the build-in programming language in DotNet platform.It is possible to call dynamic link library written by C++ in C# code and the former parameters are pointers.In this case,we can use IntPtr type to represent the pointer.This paper shows the key steps of C++ integrated development.
Keywords:DotNet
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号