Article # 129, added by Geoworks, historical record
| first | previous | index | next | last |

How to resolve Internal Error 177.




If you recently changed a Generic object to a ComplexMonikerClass
object, and you received an "Internal Error 177" error message
when your program started up, then be sure to fill in the CMI_topText
field. Here is an example:

BAD
---
@visMoniker MyTriggerTitle = "Title";
@object ComplexMonikerClass MyTrigger =
{
	ComplexMoniker = GenTriggerClass;
	GI_visMoniker = @MyTriggerTitle;
	GTI_destination = SomeDialog;
	GTI_actionMsg = MSG_GEN_INTERACTION_INITIATE;
	HINT_SEEK_MENU_BAR;
	HINT_SEEK_REPLY_BAR;
	HINT_SEEK_SLOT = 0;
}

GOOD
----
@chunk TCHAR MyTriggerTitle[] = "Title";
@object ComplexMonikerClass MyTrigger =
{
	ComplexMoniker = GenTriggerClass;
	CMI_topText = @MyTriggerTitle;
	GTI_destination = SomeDialog;
	GTI_actionMsg = MSG_GEN_INTERACTION_INITIATE;
	HINT_SEEK_MENU_BAR;
	HINT_SEEK_REPLY_BAR;
	HINT_SEEK_SLOT = 0;
}

As you can see we don't use GI_visMoniker to specify the visMoniker.
Instead we use the CMI_topText field of the ComplexMonikerClass.