VisualStudio2015 Visual C++ を使っている。
クラスビューで、クラスウィザードを開こうとすると、
致命的エラー
「 HRESULT からの例外 0x8ce0000b 」
なんて警告が出て、開けない。
過去にも何度かあり、そのたびにプロジェクトごと作り直していた。
今回、解決方法を発見。
まずは、リンク。
英語ですが・・・。
ここに答え。
I ' ve had the same error when trying to use the Class Wizard. I have reset my environment as described and the error is gone. After this I reconfigured the environment step by step to fit my needs. I noticed that the error appears if I choose to disable external dependency folders (Options\text editor\c/c++\advanced) . Setting the value to true and reopening the solution cleared the error.
-----------------------------------------------------------------------------
VisualStudio2015で、以下の手順(上記の赤い部分)。
-----------------------------------------------------------------------------
「オプション」を開く
→「テキストエディター」
→「C/C++」
→「詳細設定」
→右側の項目の中で
「データベースの再作成」を「true」に変更
→OKを押す
→再起動(VisualStudio2015の再起動)
これで、データベースが再作成される。
オプション設定の中の「データベース再作成」は自動的に fakse に戻ってしまうらしいけど、要確認。
これで、クラスウィザードが正常に戻ります。