How to run a winRT application executable
Hi, I am currently working on running the Blank application developed with C++/WinRT. While the sample application compiles and executes successfully in Visual Studio 2022, I encounter a problem when trying to launch it directly. Upon navigating to the application's directory on my Windows machine and double-clicking the executable file, I am faced with a system error. Attached is an image of the error for your reference. Thanks
@Minxin Yu I created a Blank App using C++/WinRT and compiled it. Initially, I encountered some compilation issues, but after consulting a helpful article, I resolved them by adding 'ole32.lib; oleaut32.lib; Kernel32.lib' to the Additional Dependencies. This adjustment allowed the app to compile and run successfully from visual studio 2022.
Sign in to comment