如何从c ++ netbeans代码创建dll [英] How to create dll from c++ netbeans code

查看:84
本文介绍了如何从c ++ netbeans代码创建dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用netbeans 7.3编写的简单C ++代码。如何创建此代码的dll?

I have a simple C++ code written in netbeans 7.3. How can I create a dll of this code?

推荐答案

右键单击项目列表中的项目,选择属性,然后选择构建从属性对话框左侧的树中。

在右侧窗格中,您将看到配置类型作为其中一个项目,选择动态库从下拉列表右侧。现在你的项目将在Windows上构建为Dll。
Right click on your project in the projects list, select properties and then select Build from the tree on the left of the Properties dialog.
In the right hand pane you will see Configuration Type as one of the items, select Dynamic Library from the drop down list to the right. Now your projec will build as a Dll on Windows.


这篇关于如何从c ++ netbeans代码创建dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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