www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - WinUI 3

reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
Could D be used with WinUI 3?

https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

Would the win32metadata help? 🤔
Mar 15 2021
next sibling parent reply evilrat <evilrat666 gmail.com> writes:
On Monday, 15 March 2021 at 16:41:08 UTC, Imperatorn wrote:
 Could D be used with WinUI 3?

 https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

 Would the win32metadata help? 🤔
I've seen some slides about WinUI 3 future directions and roadmap but haven't tried it yet. Probably it will be PITA to use it right now in anything not .NET because of some core dependencies (IIRC some core stuff is in .NET), but plans have mentions it will be possible to use with ANY language closer to release date somewhere in Q3 2021. But if it can be done using C++/WinRT right now then it is highly likely this will be possible to do it in D as well. As for WinRT stuff there was some tools and bindings done by webfreak. https://github.com/WebFreak001/dwinrt2 and/or https://github.com/WebFreak001/dwinrt
Mar 15 2021
parent Paulo Pinto <pjmlp progtools.org> writes:
On Monday, 15 March 2021 at 17:04:56 UTC, evilrat wrote:
 On Monday, 15 March 2021 at 16:41:08 UTC, Imperatorn wrote:
 Could D be used with WinUI 3?

 https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

 Would the win32metadata help? 🤔
I've seen some slides about WinUI 3 future directions and roadmap but haven't tried it yet. Probably it will be PITA to use it right now in anything not .NET because of some core dependencies (IIRC some core stuff is in .NET), but plans have mentions it will be possible to use with ANY language closer to release date somewhere in Q3 2021. But if it can be done using C++/WinRT right now then it is highly likely this will be possible to do it in D as well. As for WinRT stuff there was some tools and bindings done by webfreak. https://github.com/WebFreak001/dwinrt2 and/or https://github.com/WebFreak001/dwinrt
WinUI core is WinRT, basically modern COM, no :NET dependencies.
Mar 15 2021
prev sibling parent reply Siemargl <inqnone gmail.com> writes:
On Monday, 15 March 2021 at 16:41:08 UTC, Imperatorn wrote:
 Could D be used with WinUI 3?

 https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

 Would the win32metadata help? 🤔
No need to going in another dead end
Mar 15 2021
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Monday, 15 March 2021 at 22:07:35 UTC, Siemargl wrote:
 On Monday, 15 March 2021 at 16:41:08 UTC, Imperatorn wrote:
 Could D be used with WinUI 3?

 https://docs.microsoft.com/en-us/windows/apps/winui/winui3/

 Would the win32metadata help? 🤔
No need to going in another dead end
?
Mar 15 2021