Comments (3)
I would suggest you start with a copy of one of these Visual C++ projects as your starting point. It has everything already pre-configured to work with C++/WinRT.
Support for Xaml and components will be available in a future update.
from cppwinrt.
Thanks, that was what I was doing, using a copy and tweaking. I looked through all the samples, much nicer code. I'm not a C++ purist but I did find the CLI like syntax of C++/CX superfluous given how effectively C++ can be morphed and prodded (and letting the compiler do the heavy lifting). Looking forward to seeing component examples and whether you'll come up with a way of hiding MIDL. Hopefully the rest of Microsoft will accept that this is the right path forward.
from cppwinrt.
Thanks, I'm glad you like it!
from cppwinrt.
Related Issues (20)
- Add to_u8string and to_hstring(std::u8string_view) functions HOT 4
- Nativs is not working on ARM64 HOT 2
- Feature request: Allow delegates consisting of weak reference + lambda
- Bug: TryLookup and Cancel cause noise in debugger because they RoOriginate an error that is expected HOT 1
- Project attributes as structures HOT 7
- Bug: winrt::hresult_error::originate asserts when using a clr.dll based error info object HOT 5
- Simply creating a projected type with added ref count HOT 1
- Expose IIterator<T> as a sentinel view HOT 1
- Generate empty module.g.cpp HOT 1
- Bug: Visual Studio integration? HOT 3
- Feature: Add support for agile+weak references HOT 1
- Bug: Upgrading from 2.0.221104.6 to a later version no longer builds co_await on a DispatcherQueue HOT 6
- Project interfaces without forwarders to required interfaces HOT 2
- Bug:Since 2.0.240111.5, I get a compile error with the GetTemplateChild function. HOT 5
- Expose wrapped APIs to open Win32 handles for WinRT storage items HOT 2
- GetChildrenInTabFocusOrder no longer a member of the generated code HOT 10
- Cannot use WinRT with MFC? HOT 3
- Bug: version 2.0.240111.5 does not work correctly with XAML HOT 10
- Bug:Build failure due to namespace changes in XamlTypeInfo after C++/WinRT update HOT 2
- Bug: throw_hresult should treat ERROR_COMMITMENT_LIMIT as OOM HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppwinrt.