stdole32.tlb contains all base type definitions, and every lib must import it, if we use MIDL. But when I created ATL DLL project, lib file looks like that
import "oaidl.idl";
import "ocidl.idl";
[
uuid(4CA3ADAD-AE53-4D80-AF26-176BAF8223B1),
version(1.0),
]
library FirstATLLib
{
importlib("stdole2.tlb");
};
I can't google what is in stdole2.tlb? Does it contain stdole32.tlb? And what else? Can someone helps me to find out?
You can use Windows SDK COM/OLE Object Viewer
to open the type library and see what is there inside:
It defines certain interfaces and type you can use in your type library, since you make them available through referencing stdole2.tlb
.