Discussion:
serializing a g++ application
(too old to reply)
jbailo
2003-10-26 02:25:48 UTC
Permalink
Is it possible to serialize a g++ application so
that it preserves the state of key
variables in the executable when shut down?
--
There are Ogg Vorbis streams @
Virgin Radio
http://www.virginradio.co.uk/thestation/listen/index.html
Wiseguy
2003-10-26 03:20:48 UTC
Permalink
Post by jbailo
Is it possible to serialize a g++ application so
that it preserves the state of key
variables in the executable when shut down?
Depends upon whether your objects were designed to be "serializable".
If the app wasn't specifically designed with this functionality in mind,
then the answer is "no."
jbailo
2003-10-26 03:31:17 UTC
Permalink
Post by Wiseguy
Post by jbailo
Is it possible to serialize a g++ application so
that it preserves the state of key
variables in the executable when shut down?
Depends upon whether your objects were designed to be "serializable".
If the app wasn't specifically designed with this functionality in mind,
then the answer is "no."
can you give me a pointer as to
how to serialize them...say for
instatnce the state of a Gtk
button text.
--
There are Ogg Vorbis streams @
Virgin Radio
http://www.virginradio.co.uk/thestation/listen/index.html
Nils O. Selåsdal
2003-10-27 08:28:54 UTC
Permalink
Post by jbailo
Is it possible to serialize a g++ application so
that it preserves the state of key
variables in the executable when shut down?
C/C++ does not support the concept of "serialization" as
found in e.g. Java.
You have to write your own code that saves and restores states.
--
Vennlig hilsen/Best Regards
Nils Olav Selåsdal <NOS at Utel.no>
System Engineer
UtelSystems a/s
Loading...