包括.exe中的类库 [英] include class libraries in .exe

查看:63
本文介绍了包括.exe中的类库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


i需要在编译我的项目时在.exe文件中包含所有必需的类库,以便它可以在dll-s的计算机上运行无法进入或根本不存在。据我所知,使用工具下的列表 - >引用仅对.dll进行引用 - 我想要做的是实际包含它。 />

这可能吗?我该怎么办?

hi all,

i need to include all necessary class libraries in the .exe file when i compile my project, so that it can be run on a computer where the dll-s are unaccessible or simply not there. as far as i understand using the list under tools->references only makes a reference to the .dll - what i want to do is to actually include it.

is this possible? how can i do it?

推荐答案

如果你告诉我们哪个版本的VB,它可能有帮助。但就个人而言,我认为这是不可能的。 DLL似乎是Windows中不可避免的恶魔。


想法是打包你的程序,所以它可以安装在其他系统上,不要只是复制它。


我知道这很痛苦,但这似乎是Windows的方式world。
It might help if you tell us which version of VB. But personally, I don''t think it''s possible. DLLs seem to be an unavoidable evil in Windows.

The idea is to "package" your program so it can be installed on other system, don''t just copy it there.

I know it''s a pain, but that seems to be the way of the Windows world.



如果你告诉我们哪个版本的VB,那么可能有帮助。但就个人而言,我认为这是不可能的。 DLL似乎是Windows中不可避免的恶魔。


想法是打包你的程序,所以它可以安装在其他系统上,不要只是复制它。


我知道这很痛苦,但这似乎是Windows的方式世界。
It might help if you tell us which version of VB. But personally, I don''t think it''s possible. DLLs seem to be an unavoidable evil in Windows.

The idea is to "package" your program so it can be installed on other system, don''t just copy it there.

I know it''s a pain, but that seems to be the way of the Windows world.



我正在使用VB6,即使安装包可以解决运行程序的问题,也不会按照我希望的方式执行:问题是我们的支持技术人员希望能够将exe文件复制到客户服务器并将其用于故障排除 - 一旦问题解决,应该删除程序,而不会在系统中留下任何痕迹。这可以通过一个工作的.exe获得,我可以复制,运行和删除 - 我不想弄乱客户服务器上的系统文件夹......

i''m using VB6, and even though an installation package would solve the problem of running the program, it would not do it the way i wanted it to: the problem is our support techs want to be able to copy the exe file to a customer server and use it for troubleshooting - as soon as the problem is solved, the program should be removed without leaving any traces whatsoever in the system. this could be obtained by a working .exe that i could just copy, run and delete - i don''t want to mess in system folders on a customer''s server...



我正在使用VB6,即使安装包可以解决运行程序的问题,也不会按照我想要的方式进行:问题是我们的支持技术人员希望能够将exe文件复制到客户服务器并将其用于故障排除 - 一旦问题得到解决,应该删除程序,而不会在系统中留下任何痕迹。这可以通过一个工作的.exe获得,我可以复制,运行和删除 - 我不想弄乱客户服务器上的系统文件夹......
i''m using VB6, and even though an installation package would solve the problem of running the program, it would not do it the way i wanted it to: the problem is our support techs want to be able to copy the exe file to a customer server and use it for troubleshooting - as soon as the problem is solved, the program should be removed without leaving any traces whatsoever in the system. this could be obtained by a working .exe that i could just copy, run and delete - i don''t want to mess in system folders on a customer''s server...



点击此链接
http://www.thescripts.com/ forum / thread735247.html


希望有所帮助:)

Click this link
http://www.thescripts.com/forum/thread735247.html

Hope it helps :)


这篇关于包括.exe中的类库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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