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()