简体   繁体   中英

Import COM interfaces from an olb file into VC6

Please don't tell me not to use VC6, it's a legacy project.

I have an olb file that contains COM interfaces, and I need to create a header and cpp file containing wrapper classes derived from COleDispatchDriver. I've done it before, but now I can't remember the steps.

Open the ClassWizard (from the View menu or Ctrl+W - I think). The Add Class button has a 'From a Type Library' option.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM