ComAutomationFactory.CreateObject を使用してオブジェクトを作成しようとしました。次の例外を与えています
"Failed to create an object instance for the specified ProgId"
私のアプリケーションは OOB で実行されており、権限が昇格されています。
if (ComAutomationFactory.IsAvailable && App.Current.HasElevatedPermissions) {
dynamic sample = ComAutomationFactory.CreateObject("SampleCom.ComClass");
}
ここで、SampleCom は C# で作成された my Com アプリケーションです。
シルバーライト4を使用しています