在VS 10中创建托管DLL [英] Creating a Managed DLL in VS 10

查看:118
本文介绍了在VS 10中创建托管DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。是否可以使用VS 10在C ++中创建托管dll?我问这个是因为没有这样的选项可以在开始时用CLR代码制作一个dll文件。在此先感谢。

Hello. Is it possible to create a managed dll in C++ with VS 10? I''m asking this because there is no such option to make a dll file out of CLR code at the start. Thanks in advance.

推荐答案

您可以通过选择Visual C ++>在C ++ / CLI(而不是C ++)中创建托管DLL。 CLR在New Project对话框中,然后选择Class Library项目模板。



(HB:固定拼写为CLR)
You can create a managed DLL in C++/CLI (not C++), by selecting Visual C++ > CLR in the New Project dialog, and then picking up the Class Library project template.

(HB: fixed spelling of "CLR")

这篇关于在VS 10中创建托管DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆