uwp - How to make a backgroundtask run in-process -
i have cordova based js uwp app. startup project. using c++ winrt component. want background task (written in c++) communicate main app.
if startup app c++/c# , can specify in app manifest file
<extension category="windows.backgroundtasks" entrypoint="bgtask.backgroundtaskhandler" executable="mainapp.exe"> <backgroundtasks> <task type="systemevent" /> </backgroundtasks> </extension>
but if main app js app, on specifying executable="mainapp.exe" throws error. can tell how this.
executable not required, can omit , should work.
Comments
Post a Comment