> At other times during the life of my program I want to free stuff. It can
> wait until I free the block, but it could accumulate into a lot of unused
> monikers and objects after a while so I'd like to be able to free them.
>
Well, the problem with this, Ed, from my understanding is that every object
has a space automatically allocated to it for a visMoniker, so regardless of
whether you actually fill it or not, it exists in memory with the
object....so removing it really doesn't make sense as long as the object is
around. When you no longer need the object, then you can free the object and
will also end up freeing the visMoniker with it.
The difference between "instance" data, and "vardata" variables as I
understand it, is that the instance data (of which visMonikers fall under via
GenClass) will be built automatically. Vardata, on the other hand, is only
built out when you declare it statically in your .goc files...or you add it
to objects that are already built that didn't have it declared prior. I
think this is what you are thinking regards freeing the visMonikers.
Lee