I am having trouble executing any email replycommands in the C3PO extension that I have written. My code is below if for reply all but I am having the same issue with other reply commands. The line tvCommander.Execute(AnsiString('ItemReplyOpenItem(All!;Yes!)'), ReStr); causes an "unspecified error" exception. Despite the exception, Groupwise does pull up the appropriate reply email (reply or reply all). The exception does still cause problems because the user has to search their windows for the reply which can be difficult if there are several emails open.
procedure ReplyAll;
var
vCommander: Variant;
ReStr: AnsiString;
begin
vCommander := CreateOleObject('GroupWiseCommander');
tvCommander.Execute(AnsiString('ItemReplyOpenItem(All!;Yes!)'), ReStr);
ivCommander := Unassigned;
end;