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.
ocx ライブラリを c# で動作させる最も簡単な方法は何ですか? (wpf プロジェクトを使用しています) aximp を使用しようとしましたが、Ax[libname]Lib.Ax[libname] オブジェクトの作成時に getocx() を呼び出すと null が返されます。
編集:このライブラリは特定のドライバーと通信するためのものであることを追加する必要があります
わかりました、解決策を見つけました:) オブジェクトを作成した後、メソッド .CreateControl() を呼び出す必要があります