> /* Inside MSG_GEN_DOCUMENT_ATTACH_UI_TO_DOCUMENT */
>
> mapBlock = VMGetMapBlock(file);
> map = VMLock(file, mapBlock, &maphandle);
> primaryVMHandle = map->primaryVMH;
> VMUnlock(maphandle);
>
> char name[33];
>
> primaryVM = VMLock(file, primaryVMHandle, &objHandle);
> strcpy(name, objBlock->objData.name);
> @call newitem::MSG_GEN_REPLACE_VIS_MONIKER_TEXT(name, VUM_NOW);
> VMUnlock(objHandle);
> /* also tried directly using the string from the vm file instead of
copying *
> /
>
Without looking at it for any length of time...where did you define
"primaryVM"?
Did you mistakenly mean, "primaryVMH"?
Lee