monikers

Edward Di Geronimo Jr. (edwdig@bergen.org)
Mon, 9 Dec 1996 22:04:15 -0500

Hi everyone,

Got a few questions about monikers. Right now I have a few objects that have
only text monikers, and they share the same moniker. If I send one
MSG_GEN_REPLACE_VIS_MONIKER_TEXT it creates a new chunk with the new text,
and only that object uses the moniker. Next I'm using
MSG_GEN_GET_VIS_MONIKER, and then sending the other objects
MSG_GEN_USE_VIS_MONIKER. That makes them all use the same moniker again. But
what happens to the old one? Does it get deleted when nothing is using it
anymore or does it stay floating around? If it stays around how do I delete it?

One other question: Has anyone else tried the new compiler.mk file? It
causes the compiler to give a warning practically (if not) every time I use
parentheses in my message parameters. For example, for this line of code it
says I should use parentheses to avoid being ambiguous:

@call Object::MSG_GEN_ADD_CHILD(newitem, (CCF_MARK_DIRTY | CCO_LAST));

------------------------------------------------------------------------
| I've always been afraid to die, but I think I'm more afraid to live. |
| -Billy Corgan, Smashing Pumpkins, The Aeroplane Flys High |
------------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
------------------------------------------------------------------------