Guest User

Untitled

a guest
Dec 12th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. // cl minimal.cpp /EHsc /std:c++17 /await user32.lib windowsapp.lib
  2.  
  3. #define WIN32_LEAN_AND_MEAN
  4. #include <SDKDDKVer.h>
  5. #include <windows.h>
  6. #include <winrt/Windows.Web.UI.Interop.h>
  7. #include <roapi.h>
  8.  
  9. using namespace winrt::Windows::Foundation;
  10. using namespace winrt::Windows::Web::UI::Interop;
  11.  
  12. int main(void) {
  13. RoInitialize(RO_INIT_MULTITHREADED);
  14. printf("Hellon");
  15.  
  16. WebViewControlProcess webviews = WebViewControlProcess();
  17.  
  18. printf(" world!n");
  19. RoUninitialize();
  20. }
  21.  
  22. Hello
  23. world!
  24.  
  25. Hello
Add Comment
Please, Sign In to add comment