Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // cl minimal.cpp /EHsc /std:c++17 /await user32.lib windowsapp.lib
- #define WIN32_LEAN_AND_MEAN
- #include <SDKDDKVer.h>
- #include <windows.h>
- #include <winrt/Windows.Web.UI.Interop.h>
- #include <roapi.h>
- using namespace winrt::Windows::Foundation;
- using namespace winrt::Windows::Web::UI::Interop;
- int main(void) {
- RoInitialize(RO_INIT_MULTITHREADED);
- printf("Hellon");
- WebViewControlProcess webviews = WebViewControlProcess();
- printf(" world!n");
- RoUninitialize();
- }
- Hello
- world!
- Hello
Add Comment
Please, Sign In to add comment