When I manually call copy or cut like this:
lpOleCommandTarget->Exec(NULL, OLECMDID_COPY, OLECMDEXECOPT_DODEFAULT,
NULL,NULL);
the result value is CO_E_NOTINITIALIZED, which doesn't make any sense
as all our threads are initialized with
CoInitializeEx(NULL,COINIT_APARTMENTTHREADED);
Also, when I directly try to call another CoInitialize before Exec the
return value for CoInitialize is S_FALSE, which confirms that the call
has been made before.
Researching the web a couple sites pointed to security settings, but
all of them are set to factory defaults and this is only a local HTML
page (a file) that is displayed.
Thanks in advance for any pointers!