Q&A

Q1:What happened to all the interface programming constructs used in the past? Where's the GUID? Where's IUnknown?
A1: You can still program using interfaces within ATL the same way as before. This hour concentrated on using managed interfaces that run within the common language runtime of the .NET Framework. The .NET Framework and Visual C++ .NET take care of all the COM details for you, so you can concentrate more on the implementation details.
Q2:Can I implement one of the interfaces created this hour using C# .NET or VB .NET instead?
A2: Yes, you can. Once the class library is compiled, you can use and/or implement those interfaces from any .NET language.

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.