Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ゲームパッド クラスに DirectXTK ライブラリを使用しています。このクラスのみを内部に含むライブラリをコンパイルしましたが、動作します。
ライブラリなしでソース ファイルのみをプロジェクトに追加すると、サイズは ~500KB ではなく ~50KB になります。ただし、次のエラーが表示されます。
CoInitialize has not been called
これを解決して実行可能ファイルのサイズを小さくする方法についてのアイデアはありますか?