Even though C++/WinRT has provided safe DLL loading #1293 for over a year, there is still some risk that the fallback logic can trip up more interesting scenarios encountered by the OS. This just locks C++/WinRT down further by not using LoadLibraryExW for anything by default.
To enable the traditional "reg free" model you can define WINRT_REG_FREE.
Even though C++/WinRT has provided safe DLL loading #1293 for over a year, there is still some risk that the fallback logic can trip up more interesting scenarios encountered by the OS. This just locks C++/WinRT down further by not using
LoadLibraryExW
for anything by default.To enable the traditional "reg free" model you can define
WINRT_REG_FREE
.