CreateInstance may result in a load of some .exe or some .dll. It deppends on type of COM object, local or inproc. After that it query the interface IClassFactory, call CreateInstance of it and return to you usually a pointer to IDispatch or to IUnknown. You can not call directly functions from dll loaded with CreateInstance. You may only invoke methods through COM calls. However I think COM dll could expose functions in the same way as a regular dll but there is no reason to do it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.