uwp

Are apps launched by URI in a UWP app also sandboxed?

社会主义新天地 提交于 2020-01-06 08:13:59
问题 I inherited a UWP app and was asked to add a button to launch a 3rd party application. The 3rd party application is built with Qt and has an exe as the main program that launches a second exe that acts as a service. The UWP app is to be run on tablets running Windows 10. I created an installer that adds registry values for the URI for the 3rd party application so I can do URI activation (LaunchUriAsync method). If I change the target of the URI to a different application it works fine, so I

Pinch and Zoom UWP default position and size

家住魔仙堡 提交于 2020-01-06 08:07:23
问题 I drawn some arc and lines in a canvas using WIN2D.To implements pan and pinch in the canvas image I was used the code below... XAML </Canvas>--> <ScrollViewer x:Name="scrollViewer" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="-0,0,0,0" Height="806" ZoomMode="Enabled" MinZoomFactor="0.5" MaxZoomFactor="8000" ViewChanged="scrollViewer_ViewChanged"> <Grid Margin="-10,0,0,0"> <canvas:CanvasControl x:Name="ManipulateMe" Draw="Preview_Draw" Margin="-11,1,0,0"

Pinch and Zoom UWP default position and size

喜你入骨 提交于 2020-01-06 08:07:10
问题 I drawn some arc and lines in a canvas using WIN2D.To implements pan and pinch in the canvas image I was used the code below... XAML </Canvas>--> <ScrollViewer x:Name="scrollViewer" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Margin="-0,0,0,0" Height="806" ZoomMode="Enabled" MinZoomFactor="0.5" MaxZoomFactor="8000" ViewChanged="scrollViewer_ViewChanged"> <Grid Margin="-10,0,0,0"> <canvas:CanvasControl x:Name="ManipulateMe" Draw="Preview_Draw" Margin="-11,1,0,0"

Soft Keyboard Disappearing when changing input

倾然丶 夕夏残阳落幕 提交于 2020-01-06 07:24:10
问题 Strange problem here which was caused by the most recent win 10 update 1709 I have a uwp app that is installed on a tablet which has assigned access setup. So it is locked to this application in tablet mode. This was all fine until the last update which broke the keyboard. It pops up the first time, then when tapping the next input box it disappears. Then to get it to return you need to tap in the box again. I'm using the input scope on a few of them, and this seems to work intermittently too

RuntimeBinding exception working with vectors of string

大兔子大兔子 提交于 2020-01-06 06:47:06
问题 I have a C# UWP application that uses a custom UWP Runtime Library written in Visual C++. In one of my Visual C++ classes I convert a vector of strings to a collection of platform strings, which are understandable to the C# UWP application. My problem is a Windows Runtime Bindable exception is thrown only in release mode of the application. Everything works perfectly in debug mode. Visual C++: // internalModel.cpp - the model I get my vector of strings from std::vector<std::string>

Can't display image from Removeable SD - UWP Windows IOT

ぐ巨炮叔叔 提交于 2020-01-06 06:38:29
问题 I have done all of the things necessary to gaining access to the files located on the SD card of my IOT device (DragonBoard 410c). I have all of the FileTypeAssociations <Capability Name="internetClient" /> <Capability Name="privateNetworkClientServer" /> <Capability Name="internetClientServer" /> <uap:Capability Name="userAccountInformation" /> <uap:Capability Name="removableStorage" /> <uap:Capability Name="enterpriseAuthentication" /> I CAN see and iterate over the files on the SD card

Deserialize DateTime from a web api

白昼怎懂夜的黑 提交于 2020-01-06 06:38:13
问题 So I have an sql database where i get values from via a json API . I have som problem with deserializing the DateTime variables timeFrom and timeTo . Right now all the timeFrom and all the timeTo gets tha value of: {1/1/0001 12:00:00 AM} Witch is not the correct value... This is a sample of one booking of a room from the json api: { "id": "c49af34d-5479-4304-8acc-30f22a7cd1ef", "code": 6679, "timeFrom": "2018-06-13T16:00:00", "timeTo": "2018-06-13T16:45:00", "note": null, "createdDate": "2018

Can't display image from Removeable SD - UWP Windows IOT

妖精的绣舞 提交于 2020-01-06 06:37:43
问题 I have done all of the things necessary to gaining access to the files located on the SD card of my IOT device (DragonBoard 410c). I have all of the FileTypeAssociations <Capability Name="internetClient" /> <Capability Name="privateNetworkClientServer" /> <Capability Name="internetClientServer" /> <uap:Capability Name="userAccountInformation" /> <uap:Capability Name="removableStorage" /> <uap:Capability Name="enterpriseAuthentication" /> I CAN see and iterate over the files on the SD card

Deserialize DateTime from a web api

我的未来我决定 提交于 2020-01-06 06:37:06
问题 So I have an sql database where i get values from via a json API . I have som problem with deserializing the DateTime variables timeFrom and timeTo . Right now all the timeFrom and all the timeTo gets tha value of: {1/1/0001 12:00:00 AM} Witch is not the correct value... This is a sample of one booking of a room from the json api: { "id": "c49af34d-5479-4304-8acc-30f22a7cd1ef", "code": 6679, "timeFrom": "2018-06-13T16:00:00", "timeTo": "2018-06-13T16:45:00", "note": null, "createdDate": "2018

UWP C++: Writing only instead of reading to a global variable?

六眼飞鱼酱① 提交于 2020-01-06 06:26:31
问题 I have a separate header file for where I declare global variables. I have included that header file in pch.h which is included in every .cpp file. #include "variable.h" I now need to call the variable and read it in an if statment to start some code. Before compilation, no errors are shown in Visual Studio. However, when I compile the code, it returns error: Error LNK2005 "bool ahschecked" (?ahschecked@@3_NA) already defined in checkin.xaml.obj pch.h The variable is "ahschecked" which is