Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: Saving prog...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 746 of 811
Post > Topic >>

Re: Saving program state in executable

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Jun 17, 2007 at 04:57 PM

["Followup-To:" header set to comp.lang.pascal.misc.]
On 2007-06-17, CBFalconer <cbfalconer@[EMAIL PROTECTED]
> wrote:
>> that do save_heap_stack(fp) and restore_heap_stack(fp) - that would
>> enable the entire current heap and stack to be stored to a file, then
>> restored. Then all I'd need to do on running hte program is to check
>> if there's a previous state, if there is, simply restore it.
>> 
>> That's what I'm looking for.
>
> Won't work.  For example, there is no guarantee that heap addresses
> that were used before are still available.

For most protected mode systems it does. Specially if the running scope is
one system.

However I don't know any non embedded systems that allow this, so the
point
is moot.
 




 9 Posts in Topic:
Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:33:55 
Re: Saving program state in executable
CBFalconer <cbfalconer  2007-06-16 20:18:03 
Re: Saving program state in executable
"Chris Burrows"  2007-06-17 11:47:18 
Re: Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:37:14 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 16:56:37 
Re: Saving program state in executable
Peter Brooks <Peter.H.  2007-06-16 20:58:03 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 10:57:22 
Re: Saving program state in executable
CBFalconer <cbfalconer  2007-06-17 09:37:47 
Re: Saving program state in executable
Marco van de Voort <ma  2007-06-17 16:57:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:50:03 CDT 2008.