制作C#windows OS模拟器需要一些建议! [英] Making a C# windows OS emulator need some advice!

查看:100
本文介绍了制作C#windows OS模拟器需要一些建议!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿我需要一些关于这个问题的建议



我正在构建一个windows模拟器我需要知道我需要从哪里开始



到目前为止我已经构建了我不想立即给出我的代码所以任何没有代码示例的建议对我来说都会更好谢谢...





我在c#中构建了一个简单的启动器,它可以在visual studio中运行父winform中的任何外部exe所以我要走正确的轨道,但我需要知道如何在我在winform内部构建的winform上启动一个Windows操作系统...



我认为其他模拟器使用类似freedos的东西来安装和模拟os在父winform中的内部,但他们也模拟硬件,所以如果有一个更简单的方法来做这个没有很多编码,我就会徘徊。我只是想节省很多时间,而不必花费很长时间编码行和代码行我知道我需要编写一些东西,但我不想花太多时间所以任何建议都会非常赞赏.....



我尝试过:



我已经构建了一个启动器,可以在Visual Studio 2017中运行父winform内的任何外部exe。

Hey I need some advice on this issue

I am building a windows emulator And I need to know where I need to start

What I have built so far I do not want to give my code out right now so any advice without code examples would be better for me thanks...


I have built a simple launcher in c# that can run any foreign exe inside of the parent winform in visual studio So I am going to the right track but I need to know how to get a windows os to boot on the winform that I built inside of the parent winform...

I think that other emulators use something like freedos to install and emulate os's inside of the parent winform but they also emulate hardware also so I wander if there's a easier way to do this without a lot of coding. I just want to save a lot of time on this without having to take a long time coding lines and lines of code I know that I need to code some things but I don't want to spend to much time so Any advice would be very appreciated.....

What I have tried:

I have built a launcher that can run any foreign exe inside of the parent winform in visual studio 2017

推荐答案

你在谈论托管虚拟机。



VM Box; Hyper-V的; 平行线。



至少,您需要通过管理程序捕获所有Windows API调用。



因此,可以从VM的hypervisor架构开始。
Your talking about "hosting virtual machines".

VM Box; Hyper-V; "Parallels".

At a minimum, you need to trap all "Windows API" calls via your "hypervisor".

So, one could start by looking at "hypervisor architecture" for VM's.


这篇关于制作C#windows OS模拟器需要一些建议!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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