What's the purpose of noncreatable coclasses in IDL?
Posted
by sharptooth
on Stack Overflow
See other posts from Stack Overflow
or by sharptooth
Published on 2009-04-30T14:15:23Z
Indexed on
2010/04/18
23:03 UTC
Read the original article
Hit count: 520
What is the reason for declaring noncreatable coclasses like the following in IDL?
[
uuid(uuidhere),
noncreatable
]
coclass CoClass {
[default] interface ICoClass;
};
I mean such class will not be registered to COM anyway. What's the reason to mention it in the IDL file and in the type library produced by compiling that IDL file?
© Stack Overflow or respective owner