How to hide an internal COM interface

zhaozj2021-02-16  183

http://community.9cbs.net/expert/topic/3207/3207820.xml?temp=.4435388

1. Begin_Object_map (Objectmap) Remove the CLSID, create CreateInstence, and return to the outside

2. Set it to declare_no_registry in the component class (not writing registry)

3. When using the interface, use QueryInterface when used in internal use.

One IDL is provided to an outer IDL, put some out of it, delete

转载请注明原文地址:https://www.9cbs.com/read-7990.html

New Post(0)