如何使用C ++在usb闪存驱动器中创建两个分区? [英] How do I make two partitions in usb flash drive using C++ ?

查看:110
本文介绍了如何使用C ++在usb闪存驱动器中创建两个分区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C ++或C#在USB闪存盘中创建两个分区。当我在Bootice中使用此代码时,可以在工具中查看这些分区。我想让主分区成为可启动。

How do I make two partitions in USB flash drive using C++ or C#. These partitions can be viewed in a tool when I use this code like in Bootice. And I want make the primary partition as bootable.

推荐答案

根据理查德的评论 - 没有琐碎的任务



你可以从这样的开始 http://www.ranish.com/part/ [ ^ ]并通过命令行界面在自己的进程中生成它,但是有一个'断开'如果你得到你必须能够处理的错误 - 该产品也有你可能会觉得有用的源代码 - 毫无疑问还有其他类似的东西,你可以编写API或输出有用的功能作为一个dll



祝你好运
As per Richard's comment - no trivial task

you could start with something like this http://www.ranish.com/part/[^] and 'spawn' it off in its own process through the command line interface, but there's a 'disconnect' if you get errors that you'd have to be able to handle - that product also has source code that you may find useful - no doubt there are others like it, that you could possibly write an API for or export the useful functions as a dll

good luck


这篇关于如何使用C ++在usb闪存驱动器中创建两个分区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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