windows-10

Can't start Android emulator after installing Windows 10 Anniversary update

半城伤御伤魂 提交于 2019-12-01 08:49:41
I just installed the Windows 10 anniversary update and now I can't start my Android emulators. Android Studio shows the following message. Android Emulator is incompatible with Hyper-V But as you can see in the following image, Hyper-V is disabled. I already rebooted the machine. I also tried running the following command from an elevated command prompt: bcdedit /set hypervisorlaunchtype off No luck. Tried launching the emulator from a command prompt fails with the following message: emulator -avd Nexus_5_API_23 emulator: ERROR: x86 emulation currently requires hardware acceleration! Please

Webcam MJPG capture streams are unavailable on Windows 10

喜你入骨 提交于 2019-12-01 08:40:16
问题 On Windows 10 build 10.1607.14393.10 (aka Anniversary edition) I am unable to get MJPG capture streams anymore. Used to be both MJPG and YUY2 resolutions, now I am getting only YUY2 in DirectShow (Kernel Streaming) and in Media Foundation MJPG converted media types into NV12 way before IBaseFilter source is connected to anything. Tried on multiple systems with different cameras. Any ideas what might be wrong? 640x480 @30 YUY2 ... 640x480 @30 MJPG <- gone ... DirectShow: com_t<IAMStreamConfig>

How to handle back button pressed for UWP

自闭症网瘾萝莉.ら 提交于 2019-12-01 08:27:25
I used to use hardware button API in Windows Phone 8.1 XAML. However, in UWP some devices don't have back button. How do I adapt to the new app model? you can use BackRequested event to handle back request: SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested; if (App.MasterFrame.CanGoBack) { rootFrame.GoBack(); e.Handled = true; } Little bit explained answer. You can used SystemNavigationManager of Windows.UI.Core namespace For Single Page If you just want to handle navigation for single page. Follow the following steps Step 1 . Use namespace Windows.UI.Core using

Windows Store doesn't let to submit app with runFullTrust

半世苍凉 提交于 2019-12-01 08:22:36
问题 I've tried to submit app for Windows store, but after review it was declined with this notification: Desktop Bridge Apps: 98 Restricted Capability Notes To Developer You do not have approval to use the following restricted capabilities: runFullTrust. Please remove this capability from your application and resubmit. I packaged my app as it was written in Microsoft's tutorial for Desktop App Converter (DAC). Moreover, tutorial says also: For desktop apps that you package by using the desktop

Winform app name shown as _alphanumeric on Startup tab in Task Manager in windows 10

风流意气都作罢 提交于 2019-12-01 07:36:34
On Windows 10, my Form application is showing as alphanumeric characters (_1F036AE84FF792FB79A74F) on Startup tab in Task Manager . It is a MSI installation file. Following is the path it is running the exe from: C:\Users\win10user\AppData\Roaming\Microsoft\Installer\{ProductCode-Of-App} How can I show Form application instead of this alphanumeric value? EDIT : I am using Microsoft Visual Studio 2015 Installer Projects to create MSI file EDIT TWO: Windows 7 (msconfig.exe): Windows 10 (Task Manager): Here I have placed screenshots of how my application name appears on both Windows 7 & Windows

UWP's 'Add-DevAppPackage' Powershell script checks for a developer licence. This is an issue for Sideloading?

戏子无情 提交于 2019-12-01 07:14:03
问题 I'm developing a LOB (Line-of-Business) UWP project, we're hoping to distribute the app as a .appxbundle file, alongside a .cer and a Powershell script. This is what is generated in the package for you when you generate a bundle from Visual Studio by selecting Project->Store->Create App Packages... The problem I have is that the Powershell script, Add-DevAppPackage.ps1 , has a check for a developer licence in it. Specifically it calls the powershell cmdlet Get-WindowsDeveloperLicense . If

How to add xbf files to visual studio project

百般思念 提交于 2019-12-01 06:55:40
I have created a class library for Windows Universal Platform (Win 10 UWP). The library houses some UserControls. When I add the dll from this library to a Win 10 UWP app, and use the UserControls, it gives a XamlParseException as stated here in another question I posted But when I reference the whole project, there is no exception and I can use the UserControl. This happens supposedly because there are xbf files which are not added to the Win 10 app project when I just reference the dll file. In a certain project, I need to add the xbf files manually to the Win 10 app project, I cannot

Anaconda 3 Spyder appears to be causing internet outages on Windows 10

半腔热情 提交于 2019-12-01 06:40:48
问题 I have a repeatable problem with my laptop (an HP G4 250 that came with windows 10). I can be happily on the Internet, but opening Spyder causes the Internet to immediately die. Now, the system does something rather unusual. I am not disconnected from the router, and the wireless icon still says I am connected and have Internet access. But streams crash, webpages refuse to load and say there is no internet connection, and I can;t even access my router's config page. Closing Spyder fixes the

GetWindowRect has offset in Windows 10

瘦欲@ 提交于 2019-12-01 06:35:44
I use GetWindowRect in my program to get the coordinates of a window on the desktop. This works fine on a dozen or so PCs I have here for testing (XP-W8.1) but not on my one W10 PC with touch screen: the coordinates have an offset to the top-left. I googled both for a bug in Windows 10 and for something monitor related but cannot find anything, yet this seems like a commonly used function and the problem is easy to reproduce. Anyone got any clues? Code, simplified: hwnd = FindWindow(NULL, windowname); if (hwnd) { TRect r; GetWindowRect(hwnd, &r); } HWND hdt = GetDesktopWindow(); HDC dcdt =

Python TA-Lib install problems

可紊 提交于 2019-12-01 06:26:55
Frustratingly having a lot of difficult installing the TA-Lib package in python. https://pypi.python.org/pypi/TA-Lib I have read through all the forum posts I can find on this but no such luck for my particular problem.. Windows 10 Python 3.5.2 Anaconda 4.2.0 Cython 0.24.1 Microsoft Visual Studio 14.0 I have downloaded and extracted ta-lib-0.4.0-msvc.zip to C:/TA-Lib (common problems seem to be people not installing the underlying TA-Lib file http://www.ta-lib.org/hdr_dw.html ) If someone could help me solve this I would be very appreciative! Using 'pip install ta-lib' I get the following: C: