Adding header to the LibMuseExample files


#1

Recently I downloaded the LIbMuseExamples that include GettingData and ReaderWriter files
I was just messing around with them in visual studio but the headers that I include doesn’t seem to work
For example I was trying to include windows.h and shellapi.h in GettingData
Visual Studio would let me type in #include <windows.h> and <shellapi.h> without any error
but when i try to do a command such as ShellExecute Function It would say that it is undefined.
Any help is appreciated .


#2

LibMuse for Windows is based on the Universal Windows Platform (UWP) APIs. UWP has a different security model from traditional Win32 applications and it is not possible to call ShellExecute in UWP.

https://social.msdn.microsoft.com/Forums/azure/en-US/9868059f-7175-4e42-8606-81ec0cc6f917/how-to-use-shellexecuteex-in-uwp?forum=windowscompatibility