convert partition to vhd windows API [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am trying to code a tool like disk2vhd. I'm using the VHD windows api:
Virtual Disk Functions
The Virtual Disk API In Windows 7
Demo various VHD API usage (CppVhdAPI)
I created a vhd file and created a partition in it, but I don't know how to convert a Windows partition to vhd like disk2vhd creates a vhd using CreateVirtualDisk().
I've tried to copy all items from that partition to my vhd but it does not work.
Please show me how to do that.

I think you should do the following:
Load hard disk's information,
load disk partition,
create a file vhd,
copy partition to vhd.

Related

Extract information from external SOFTWARE registry file [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 28 days ago.
Improve this question
I have to extract some information from SOFTWARE registry file. Like the existing in "/windows/system32/config" but totally independent of current OS
Official Microsoft doc suggests some predefined keys (HKLM, HKCU, etc.) but it looks like there is no opportunity to choose external OS-independent files. RegConnectRegistry() is not the way either because I just have a single SOFTWARE file. Any ideas? I know it is possible because Nirsoft package has such functionality.
If I understand you correctly, by "independent of current OS", I think you do not mean it needs to be platform-independent. You just want to open a registry contained in a file that was manually copied from some other machine's "C:\Windows\System32\config\SOFTWARE" file, and use it similarly to how in RegEdit, you could select the HKLM hive and then from the File menu select "Load Hiveā€¦" and then select that file you have at hand. In other words, you want to connect not to the live registry on any particular machine, but just to a file.
In that case, I believe the Offline Registry Library is what you are looking for. Its OROpenHive function loads the specified file into memory for further use via its other functions.

AWS App Stream 2.0 Error - There is not enough room on this disk to complete this operation for FileMaker Pro [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
We are streaming FileMaker Pro app on aws appstream2.0 platform.
While opening FileMaker Pro via browser, its showing "There is not enough room on this disk to complete this operation" error.
We are using stream.standard.large instance type with 8GB RAM.
What should we do to prevent this error?
Please help.
Need to change temporary file path to C:// drive.
Then we have written a batch script to set a temporary path for the specific application and open the .exe file.
#ECHO OFF
SET "TEMP=C:\Program Files\tmp"
SET "TMP=C:\Program Files\tmp"
start "" "C:\Program Files\test-file\Temp.fmp12"
exit

How to get computer device manager information as text result in cpp code? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
How to get computer device manager information (in Windows (especially win 10)) as text result in cpp code?. In addition I don't want to use registry i my code.
You can get information of device manager using Windows Management Instrumentation(WMI) or by using Setup APIs. One example of Setup APIs for getting device manager information can be found in code project.

Delete file and get objects list from Amazon S3 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have developed several classes for classic asp (REST)
uploadFile.asp
deleteFile.asp
getListObject.asp
After testing, I was surprised at the result:
Uploaded file to the server
Deleting a file
Get list objects
The file remains on the list
I use cloudberry explorer and see that file no exist.
In what may be the problem?
I found the answer.
Maybe it's problem of classic asp. I needed a dynamic query string. When I use an alternative authentication method and it works.

Online Anti-Virus service [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How would it be possible to design an online-antivirus service. I was thinking about creating an online version of some open-source antivirus. Would it be possible to upload something like a binary image of the selected folders, and then pass that as an argument to the antivirus service installed on the web server?
Take a look at http://www.virustotal.com - this is how they do it. BTW - hashing previous results would probably save you a lot of time on scanning duplicate requests.
Sure. Be quicker to have them fedex their hard drive, though.