ATL to create COM component - DLL to create

Learning the creation of COM components, what's the use of learning this?

As we all know, there are many login password verification controls. Only those controls installed can perform the normal login function, so let me imitate this calling process now.



 

 


 

 
 

 

LIBCMT.lib and atlmincrt.lib define some code repeatedly, so the two LIBs

A conflict arises, a LIB must be ignored in the link , and LIBCMT.lib is ignored

Got other linking errors, so ignore atlmincrt.lib



 

 

 

 

 Adding the method parameter
 

 

 

idl is the interface provided by the DLL component externally



Interface implementation, which belongs to the methods under CHellword



 Get DLL files and LIB files

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326484742&siteId=291194637