|
-
March 13th, 2005, 01:50 PM
#3
Re: How to save a "state" of a process
Hey Marc,
This technique is possible to do, and frequently used by game developers, and is called savegame file. Main question here is: what information we need to startup process from prevoius state? For a game you do not have to dump all registers, dump whole memory, often you cannot do that due to insufficient access privileges. Saving state of all necessary objects in the game is good enough.
Achilles, just think what data is necessary to invoke your proccess from previous state, and load it from file on startup. When process exits, save all necessary data to file, or registry, or whatever storage area you wish.
thats my opinion
Hob
B+!
'There is no cat' - A. Einstein
Use [code] [/code] tags!
Did YOU share your photo with us at CG Members photo gallery ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|