无需操作系统即可创建独立应用程序 [英] Create a standalone application without the need of OS
问题描述
对于那些不熟悉Partition Magic程序的人来说,它是 - 正如名称所表达的那样 - 是一个硬盘分区软件。
它的独特之处在于它拥有一个功能齐全的GUI,看起来像是同一个程序的windows界面。
如果你用分区魔术启动你会注意到;
- 它可以改变屏幕分辨率。
- 它可以使用鼠标。
- 它有一个带有菜单和按钮的窗口形式。
问题是;
如何创建具有相同属性和设施的程序?
我有什么试过:
不是很多,因为我不知道从哪里开始,但我尝试过Cosmos和Easy Boot。
For those who are not familiar with a program Partition Magic, It's - As the Name express - is a HDD partitioning software.
What is Unique about it is that it has a fully functional GUI that looks like the windows interface of the same program.
if you boot with partition magic you will notice;
- It can change the screen resolution.
- It can use the mouse.
- It has the a window form with menus and buttons.
The Question is;
How can I create a program with the same properties and facilities?
What I have tried:
not Much since I don't know where to start but I tried Cosmos and Easy Boot.
推荐答案
你不会用C#或VB.NET来实现它,因为它们都是针对.NET Framework而且需要Windows才能安装,更不用说运行了。
Partition Magic是用C / C ++ wi编写的一些大会。它不需要外部库,代码也不依赖于任何O / S.任何通常是外部库的依赖都会被卷入最终的可执行文件中,但这些依赖项会保持最小,以尽可能地保持最终的可执行文件大小。
You're not going to do it with C# or VB.NET since both target the .NET Framework and that needs Windows just to install let alone run.
Partition Magic is written in C/C++ with some Assembly. It doesn't need external libraries and the code has no dependencies on any O/S whatsoever. Any dependencies on what would normally be an external library are rolled into the final executable but those dependencies are kept to a minimum to keep the final executable size down as much as possible.
这篇关于无需操作系统即可创建独立应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!