I am currently writting a windows based simulator for software designed to run on specialized hardware. It all works great apart from the fact that the software has a couple of functions that reinitialize sections of RAM from the eeprom that it runs off. I beleive that Win32 .EXE files also do something similar as I have seen references about changing the time when variables are initailised, library variable being first by default. This is all controlled by listing sections that the variables will occupy in the linker script file which also defines pointers to the begining and end of these sections. I beleive that there is something similar in Win32 programming, however I got a bit lost in all the __declspec #pragma and .def file stuff. Has anyone out there ever done this sort of thing before. please help.

Tony Bloomer