Questions tagged [windows-10-desktop]

the tag windows-10-desktop is for questions concerning application development for the Windows 10 Desktop. Windows 10 Desktop development uses the Win32 API and provides a user interface similar to a traditional Windows UI that supports and may require the use of a keyboard and mouse. Along with this tag should be a tag indicating the language being used and the platform such as .NET. This tag is not used for posts concerning WinRT application development.

Windows 10 comes in three main flavors: Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT. Development can be done in a wide variety of languages with several different target processors as well as the different target versions of Windows 10.

The Windows Desktop, Win32, uses the Windows 10 version of the Win32 API which contains functionality that is unavailable in the WinRT in order provide the security of a protected environment for WinRT. The most common processor target is x86 or x64 CPUs.

See the discussion and links in How to: Use Existing C++ Code in a Universal Windows Platform App.

The Windows Runtime, WinRT, with Universal Windows Platform applications allows for a code once, compile many for specific target. A UWP application can be built to target one of several different processors (x86, x64, ARM) as well as any of the versions of Windows 10 (Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT).

367 questions
44
votes
2 answers

Scaling the non-client area (title bar, menu bar) for per-monitor high-DPI support

Windows 8.1 introduced the ability to have different DPI settings for different monitors. This feature is known as "per-monitor high-DPI support." It persists and has been further refined in Windows 10. If an application does not opt in (i.e., is…
Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
39
votes
14 answers

Show touch keyboard (TabTip.exe) in Windows 10 Anniversary edition

In Windows 8 and Windows 10 before Anniversary update it was possible to show touch keyboard by starting C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe It no longer works in Windows 10 Anniversary update; the TabTip.exe process is…
EugeneK
  • 2,164
  • 1
  • 16
  • 21
22
votes
2 answers

How to add Windows Terminal to context menu on Windows 10?

Microsoft released Windows terminal as a Microsoft Store app. How to add it to the context menu or replace 'Open Powershell window here' with it ?
22
votes
3 answers

TRK0005 error locating rc.exe building VC++ 2015 project

I have a VS 2015 C++ project (64-bit Windows 10 + Windows 10 SDK). With the Project Properties > General > Target Platform Version set to "8.1", everything builds fine. When I change it to "10.0.15063.0", I hit this error: Error TRK0005 Failed to…
Robin
  • 695
  • 2
  • 8
  • 23
21
votes
4 answers

Spyder does not run in Anaconda virtual environment on Windows 10

This is my first post here. I tried to find an answer to this question but to no avail. Just installed Anaconda2 (2.7.11 Python kernel) on my Win10 machine. I am trying to learn the conda command. Here is my problem. I go to the Anaconda prompt…
Andy Jaworski
  • 213
  • 1
  • 2
  • 4
13
votes
1 answer

How to automatically run a third party Windows 10 Store App on Windows-Start-Up after log in

What I want to achieve is: To run a third party Windows 10 Store App, after a user logged in into his Windows 10. I've discovered already how to start “Bing News” Store app at start up after user logged in 3 steps. Thanks to instantfundas. Shortly…
klingu
  • 559
  • 1
  • 7
  • 19
10
votes
4 answers

How to give MSSQL$SQL2016 permissions to write to a folder

Morning, I have hit a brick wall and I need pointing in the right direction. What I am trying to do is give my SQL Server instance permission to create the MDB / LDB files in a directory on a new hard drive I have installed on my local machine,…
lardymonkey
  • 728
  • 1
  • 16
  • 34
10
votes
1 answer

Add a background colour to a MediaComposition

I'm trying to create a MediaComposition. I have succeeded in combining multiple png images into a single video; however, the files that's created has a black background. At first I thought this might be because the files were png files, but the…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
10
votes
2 answers

How to troubleshoot app failing to start with STATUS_DLL_INIT_FAILED (0xc0000142) after Windows 10 "Threshold 2" update (1511, build 15086)

We publish a Windows desktop application (built with Visual C++ 2013 with the v120_xp platform toolset) which worked fine on Windows 10, but we've started to receive reports from users who have installed the "Threshold 2" update that our app now…
Anodyne
  • 1,760
  • 2
  • 15
  • 28
9
votes
3 answers

Desktop C# - Referencing Windows.Devices

I am trying to create a classic desktop application for Windows 10 in C# that will be able to talk to BLE devices. I followed the instructions (Bluetooth 4.0 (low energy) API for windows desktop C# application) and added the tag to the project…
9
votes
1 answer

Copy paste is not working in command prompt neither right click or keyboard shortcuts in Windows 10

Win 10 copy paste is not working in cmd from right click neither keyboard short cuts as well. Nothing happens if I try to paste some text in prompt. Reason is unknown to me. Any help?
Ali Mamoon
  • 111
  • 1
  • 1
  • 8
8
votes
2 answers

AutoHotkey: Disable Ctrl+Shift (Windows 10 - keyboard layout switch)

How can I disable the Ctrl+Shift hotkey (keyboard layout switching) in Windows 10 using AutoHotkey? (However I would like to keep all combinations of this: Ctrl+Shift+Any other key) I've tried this, but it's not blocking the hotkey: ; Test.ahk ;…
user
  • 6,567
  • 18
  • 58
  • 85
8
votes
3 answers

install UWP app by App Installer from web error, dependency package missing

I have an UWP app and try to install it from web via App Installer. According to the docs I can put .appx/.appxbundle/*.appinstaller and I have appxbundle one which is generated by VS 2017. When I put appxbundle (also all generated folder/files…
Jesse Chang
  • 81
  • 1
  • 4
8
votes
1 answer

WPF Desktop App, Windows 10 Notification Toast 2016 (UWP Community Toolkit)

I'm trying to display Windows 10 Toasts with my WPF C# Desktop application. Sadly the API and general support concerning Windows 10 notifications in non-UWP or Store apps seems pretty limited and chaotic. Lately the UWP Community Toolkit was…
7
votes
2 answers

Error in installing face_recognition module using pip

I am using vs code in windows 10. When I install face_recognition in vs code using pip I got the following error, I have also tried to install dlib before installing face_recognition. ERROR: Command errored out with exit status 1: command:…
Kuldip Gami
  • 73
  • 1
  • 1
  • 4
1
2 3
24 25