[DGD] preserving vars after lib recompile

chris . psych_mayo at hotmail.com
Wed Sep 17 14:46:37 CEST 2008


I am already using an empty object that inherits room for virtual objects, i guess im on the right track there.

I thought that if a library had data in it, and an object inherits it, that when i change the lib, the object will have to be destructed and cloned fresh.  I had planned on writing my own object numbering system to work around the driver assigned number changing when this happened.  I also assumed I would have to somehow save the variables that were in the object, including variables it inherited, because I would have to destruct the object to compile it with the new lib code.

>From what i read from bart, wondered if it would be safe to say the following:
When i change a lib, I would recompile that lib, and all libs that inherit that lib.  After the lib compilations, I would recompile the master object, which would in turn automatically upgrade all the clones of that object.  All the clones would now be using the current libs.
I am using the klib, if that is a factor in the above statement.

Thanks,
-chris
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008



More information about the DGD mailing list