O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Activation and IInspectable

At runtime, where does the code that powers the CameraCaptureUI class come from? You have already seen how the Windows Metadata file doesn’t contain code. Because of WinRT’s roots in COM, you should not be surprised that WinRT components are registered in the Registry, providing a way for the runtime to look up the implementation for a given class. Figure 32.11 shows the registration of the CameraCaptureUI class in the HKEY_LOCAL_MACHINE registry hive.

Image

FIGURE 32.11 The registration of the CameraCaptureUI class.

In here, the DllPath value refers to the .dll file on disk, containing the implementation of the given class. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required