Sherman, Sarah, thanks a lot.shermanp wrote: That's alright, I've found a way of doing it using the method suggested here. Simple, and doesn't require compile time or run time checking. And since the only purpose is to read/write a one-time footer, performance is hardly an issue either.
I think I've got the VHD footer reading working. The next step is to figure out what I need to store where to get the info into the config file etc. That looks like it's part of the HdSizeDlg stuff. I shall persevere with it...
If I want to implement creating VHD's (which I do), I've discovered another little spanner in the works -- UUID. For whatever reasons, most implementations of UUID generation (in C) appear to use OS calls. So what the heck to do with MinGW? Where's a nice portable C (not C++) library for generating a valid UUID? Or do we just fake it for the purposes of creating a VHD file?
But to those interested, yes, I am making progress. I'm just trying to wrap my head around the wxWidgets stuff.
(As an aside, working with C makes me that much more appreciative of higher level languages!)
I didn't even actually intend this as a "request" (I don't really get the idea of requests, within the scope of something that is being given away for free), just a feature suggestion from some one who uses PCem literally every single day.
I wish I was more familiar with the toolchain and libraries used by you guys so that I could contribute myself, this is definitely one of those things that I would have enjoyed developing!