A bit of a theoretical question for you here. Hopefully I will explain this okay, but any questions let me know.
Is there a way I could reserve for example maybe 2GB of concurrent HD space, then "lock" that part of the hard drive so only my program can access it. I would then store things in that area and then would only read from it until my program closed when the memory would be released. Is there any way of ensuring that this area does not get shifted to the ram? And finally, anyway I could get a pointer to that memory address of the HD space to read the value?
At the moment the only way I can see this is to create a file and do it that way, but I'd rather "lock" a certain area of the HD so it'smore transparent rather than creating a file. As for ensuring it is not loaded into ram I don't think this is possible... Still, any ideas on everything here? I'm not after code, simply ideas for now. :)
Thanks very much,
p.s. you'll have to forgive any errors/silly mistakes here... I'm extremely tired. :(