Where's the IDL File?
One aspect of attributed programming that is drastically different from using ATL 3.0 is the fact that there is no IDL file within the project. The IDL file is used to define various items within your project, such as library parameters, interfaces in the project and their associated coclasses, interface methods, and custom data types, such as enumerations and structures. This information would then be compiled using the Microsoft Interface Definition File (MIDL) compiler to create extra header files and the project's type library. However, if you look through Solution Explorer for the project you just created, you won't find an IDL file. So where did it go?
Find and open the file AttributeTest.h in the ATLAttributes project ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access