Registry / other / cppwinrt

cppwinrt

JSON →
library2.0.250303.1vcpkgunverified

C++/WinRT is a standard C++ language projection for the Windows Runtime.

vcpkg install cppwinrt
INSTALL
IMPORT
SIG · CPPWINRT
C
cppwinrt
othercppv2.0.250303.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

winrt/Windows.Foundation.h
#include <winrt/Windows.Foundation.h>

Create a Windows Runtime URI

#include <winrt/Windows.Foundation.h> #include <iostream> using namespace winrt; int main() { init_apartment(); Uri uri(L"https://example.com"); std::wcout << uri.Domain().c_str() << std::endl; return 0; }
Debug
Known issues
gotchaRequires C++17 or later and Windows SDK
fix
Set CMAKE_CXX_STANDARD to 17 or higher and target Windows 10+
affects: all
Upgrade
Version history
2.0.250303.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

cppwinrt — pip install cppwinrt · libregistry