如何在Visual Studio 2008中制作可执行文件 [英] How to make a executable in visual studio 2008

查看:94
本文介绍了如何在Visual Studio 2008中制作可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以(调试模式)构建该项目时,我有一个项目(例如xyz),它会创建一个.dll(例如abc.dll).源代码是用C语言编写的.

该dll(abc.dll)包含一些功能.我必须使用这些功能.

现在,我必须在Visual Studio 2008中使用该dll(abc.dll)创建一个项目(为我提供可执行文件),并编写一些从该dll(abc.dll)调用该函数的代码.
你能建议我们吗?我是初学者.请逐步给我,以便我能够做到.

**我必须创建哪个项目,在Visual Studio 2008中有很多创建项目的选项,我必须创建一个使我具有可执行性的项目.

我在Google做了很多工作,但无法获得解决方案.

我是Java开发人员,但是在一个项目中,我必须执行此任务.

:)

I have a project (eg. xyz) when I build this project in (debug mode) it’s create a .dll (e.g. abc.dll). Source code is written in C language.

This dll (abc.dll) contains some function. I have to use those functions.

Now I have to make a project (that give me executable) in visual studio 2008, using that dll (abc.dll), and write some code that call the function from that dll (abc.dll).

Can you please suggest us? I am very beginner. Please give me step by step, so that I am able to do it.

** which project I have to create, in visual studio 2008 there are many option for creating a project, I have to make a project which gives me executable.

I have done a lot in Google but not able to get the solution.

I am a java developer, but in one of the project I have to do this task.

:)

推荐答案

您需要制作一个Windows窗体应用程序,WPF应用程序,Windows服务等应用程序.
然后右键单击引用并选择添加引用,然后选择您的dll.

有点基本.
You need to make an application either a windows forms application, WPF application, windows service etc.
Then right click on references and select add reference, then select your dll.

Kind of basic.


您知道足够添加适当的标记(Visual Studio),但是您没有主动探索这种应用程序的主动权吗?尝试查看Visual Studio窗口顶部的菜单.全部都会显示出来.
You knew enough to add the proper tags (Visual Studio), but you don''t have the initiative to explore that very application? Try looking at the menu at the top of the Visual Studio window. All will be revealed.


这篇关于如何在Visual Studio 2008中制作可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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