简体   繁体   中英

_com_ptr_t::CreateInstance success without regsvr32

I'm studying a program that create the COM object using _com_ptr_t::CreateInstance. What I'm not getting is that, the code is working without having to regsvr32 the referenced COM dll.

The only requirement is that the COM has to reside within the same directory of the executable.

Could someone kindly explains why this work without involving regsvr32?

Thank you.

http://msdn.microsoft.com/en-us/library/ms973913.aspx

Registration free COM ... Not hard but tricky.

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