windows-10

Referencing C Dlls from Windows 10 Universal App Across CPU Architectures

半腔热情 提交于 2020-01-01 04:52:06
问题 Basic question/summary: I need to reference a binary (dll) created by someone else in C from a Win 10 universal app project. However, there is a separate dll for x86 and arm. I believe I need to reference the dll (or at least winmd file) from the project for it to be deployed, but I can only reference one file not both. That means the app fails on one platform or another (desktop or phone) because it has the wrong binary included. Looking for a solution. More detailed explanation; I am trying

How to install .NET 4 Framework in Windows 10

淺唱寂寞╮ 提交于 2020-01-01 04:19:10
问题 How can I install the .NET 4.0 Framework in Windows 10? .NET 4.6 is already installed but I want to have .NET 4 Framework (without modifying the registry). Turning on and off Windows features in control panel does not have any effect. 回答1: From the download page for the "Microsoft .NET Framework 4.6" (emphasis mine): The Microsoft .NET Framework 4.6 is a highly compatible, in-place update to the Microsoft .NET Framework 4, Microsoft .NET Framework 4.5, Microsoft .NET Framework 4.5.1 and

Setting a wallpaper in background task

你说的曾经没有我的故事 提交于 2019-12-31 06:42:27
问题 I want to get all images from a storage folder in background task. Firstly registered a background task in app_entering background method. I am also able to debug Run method,but none of the await methods are working- public void Run(IBackgroundTaskInstance taskInstance) { var differal = taskInstance.GetDeferral(); UpdateUI(); differal.Complete(); } public async void UpdateUI() { StorageFolder folder = await KnownFolders.PicturesLibrary.GetFolderAsync("Wall_e_photos")//here execution stops and

How can I hide the taskbar in Windows 10

纵饮孤独 提交于 2019-12-31 05:28:43
问题 I am currently making a deployment program in VB.net and I am having trouble hiding the taskbar. My code works in Windows 7, but it does not seem to work after the Windows 10 upgrade. Here is my code: Imports system.Runtime.InteropServices Public Partial Class MainForm Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Integer, ByVal hWndInsertAfter As

Missing hadoop installation for Windows 10

大憨熊 提交于 2019-12-31 05:23:05
问题 I successfully installed Hadoop 2.8.1 on Windows 10. Now I'm trying to install Hive version 2.1. When I try to start hive I receive the following error: I have HADOOP_HOME set to D:\Hadoop-2.8.1\bin in the environment variables and added to the path system variable. Do I have to specify this path in a hive file? 回答1: J Skinner, You have wrongly set HADOOP_HOME. In User variables, configure HADOOP_HOME with following value. HADOOP_HOME-->D:\Hadoop-2.8.1 In System variables, add following value

Universal Windows Plateform And Live SDK

别等时光非礼了梦想. 提交于 2019-12-31 04:33:25
问题 I have a problem. I recently installed VS 2015 and Windows 10 on my computer. Having Universal Apps are amazing and I plan to convert some of my programs on UWP. But I have a problem. In one of my programs, I allow the user to save its datas on its OneDrive. And if OneDrive is unavailable, the datas are stored on local devices. And when OneDrive is available, the newly stored datas are pushed to OneDrive. Synchronisation in fact. So it is the problem. In the UWP dll named Universal.Live I

How to run ASP.NET MVC app in IIS 10 on Windows 10

老子叫甜甜 提交于 2019-12-30 17:21:56
问题 I installed IIS 10 through windows features and published MVC app into the IIS folder, then executed "dism /online /enable-feature /featurename:IIS-ASPNET45" command but still getting error: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory I've done this in windows 7 with "aspnet_regiis -I" command instead of "dism /online /enable-feature /featurename:IIS-ASPNET45" and web app loaded just fine from localhost, but I can't seem to get this to

How to solve 'node-gyp rebuild' issue on Windows 10?

我们两清 提交于 2019-12-30 16:27:47
问题 As part of trying to use a node NPM dependency in a project, I get a node-gyp rebuild issue, which I have reported. I am aware of the solution in this SO question, but it does not work for Windows 10 (I am on 32 bits, I don't know whether this is relevant). Windows SDK 7.1 (and others) won't install. Does anyone have an operational solution for Windows 10? Udpate After trying npm install <module name> --msvs_version=2013 , I get a new error message: 回答1: To install node addons, you need to

What are the two numbers in top left of uap app using VS2015 and Windows 10?

僤鯓⒐⒋嵵緔 提交于 2019-12-30 09:30:11
问题 I have installed Win 10 Preview and VS 2015. I created a new uap blank app and ran it and I get a Window with two numbers on the top left, eg 000 000 If I add a button to the app (and move it away from the obscuring numbers) and then click the button, the numbers change in what seems to me a random way, eg 020 001. What is going on? 回答1: I have now found that these numbers disappear if you set this.DebugSettings.EnableFrameRateCounter = false in OnLaunched. This is explained here Not that

IntelliJ Idea Terminal broken with Windows 10

烂漫一生 提交于 2019-12-30 07:58:49
问题 I've installed windows 10 and the terminal doesn't work in IntelliJ IDEA. I can open a new terminal, but I can't write. 回答1: According to the Terminal help page comments, there is a bug report and a workaround: Terminal works in Windows 10 if you use legacy console. To do so, open a command prompt window, right click on the title, then select Properties. At the bottom, check "Use legacy console". Confirm the dialog. Go back to the IDE and launch a new Terminal. It should work. 回答2: The latest