如何在dll项目中合并模块并定义.def文件. [英] How to merge module in dll project and define .def file.

查看:134
本文介绍了如何在dll项目中合并模块并定义.def文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个dll代码,它是由MS Visual Studio 6.0和较旧的构建环境创建的,其中包含各种模块,并且平台是Pocket PC 2003(ARMV4).现在我必须在vs2008上的WIN32上转换解决方案平台,所以首先我必须转换vs2008中的所有模块(所有子项目都是vc ++中的静态库),现在我们必须将所有模块合并到一个项目(dll)中因此,如何合并所有项目以及如何为主项目定义单个.def文件.

I have a code of dll which were created by MS Visual Studio 6.0 and and quite old build environment and it contain various modules in it,and platform was Pocket PC 2003(ARMV4). Now I have to convert the solution platform at WIN32 on vs2008.So first I have to convert all the module(all the subproject were static library in vc++) in vs2008.and now we have to merge all the module in one project(dll).So how to merge all the project and how to define single .def file for the main project.

推荐答案

假设您是从源代码中执行此操作的,只需创建Visual Studio中一个新的DLL项目.然后添加各种源模块,并遵循准则说明导出入口点,进行编译和构建.
Assuming you are doing this from the source code, just create a new DLL project in Visual Studio. Then add the various source modules, follow the guideline notes for exporting your entry points, compile and build.


这篇关于如何在dll项目中合并模块并定义.def文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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