Hello,
I'm using the WinImage SDK with WinBatch. It generally seems to work OK.
In the current project, the ultimate goal is to have a HDD image I can use as the boot image for a bootable CD-ROM. I can make it work manually using the WinImage GUI, and now I need to make it work for an automated process.
I have two FAT HDD images (12MB), both created from the same physical HDD using WinImage. The HDD is bootable, and FreeDOS is installed. The first, "plain" image is just that. The second, "mbr" image was created using WinImage's "Export to an image with a MBR".
I can use the SDK functions to successfully open (OpenFatLargeFile()) and inject files into the "plain" image.
But I think I need some help with the "mbr" image. The OpenFatLargeFile() function never seems to succeed with this image. I think it's expecting some non-zero values for dwPosInFile and dwPosInFileHigh, but I don't know what they should be, or how to know what they should be.
Any help is much appreciated.
-Clark
