search

Home  >  Q&A  >  body text

c++ - c语言生成ocx

我在c下面有一个dll的库,调用成功,现在因为开发需要,在VB下要调用,想封装成ocx控件,有什么经验吗

怪我咯怪我咯2774 days ago387

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 13:42:01

    1. Create a new MFC ActiveX control in VS
    2. Expose the C dll interface function in the control interface
    3. Control registration
    For the above, please refer to "http://blog.csdn.net /longhuahaha/article/details/8556964》
    4. Call in VB
    Refer to "http://bbs.csdn.net/topics/390080014"

    reply
    0
  • Cancelreply