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
1
vote
1 answer

Could not install windows feature IIS

I tried to reinstall iis on my windows 10 system through Control Panel\Programs and Features\ Turn Windows features on or off but after uninstalling it there is a problem with installing iis again. Here are screenshots with all errors I'm facing at…
Harry89pl
  • 2,415
  • 12
  • 42
  • 63
1
vote
1 answer

WinAPI IcmpSendEcho on 64-bit platform

I am trying to send a ping request with the IcmpSendEcho function provided by Windows, as documented here. For the most part, it seems straightforward, however, I am having trouble understanding how the caller-provided echo request buffer (LPVOID…
MC ΔT
  • 483
  • 5
  • 12
1
vote
0 answers

Msi for non windows universal application referencing winmd

I have a .Net win forms application which uses Wi Fi Direct APIs available under Windows.Devices.WiFiDirect namespace. I have referred to steps given in Is it possible to use Wi-Fi Direct from a non Universal application?. The application works…
user4869785
1
vote
1 answer

Desktop App Converter Microsoft Store validation errors

I use the DesktopAppConverter via PowerShell to create the "appx" file format. This is what I do: DesktopAppConverter.exe -Installer C:\Users\Mark\Desktop\input\ -AppExecutable MPA.exe -Destination C:\Users\Mark\Desktop\output -PackageName…
HelloThereToad
  • 249
  • 1
  • 3
  • 14
1
vote
1 answer

Use newer Windows 10 API in desktop apps

We're developing a desktop app that needs Bluetooth LE connectivity. It is possible to use the Windows 10 Bluetooth API in desktop apps, but there is no access to newer API features as far as I can tell. The type BluetoothAdapter for instance cannot…
Wouter
  • 2,170
  • 1
  • 28
  • 58
1
vote
0 answers

How to set qt applications to work nicely with different DPI screens in Windows 10?

For example, I have a high resolution (internal) screen and a low resolution external monitor. In Windows 10 when moving apps from one to the other screen they change automatically font size, iconsize, etc. However, when trying this with qt creator…
Daniel
  • 3,383
  • 4
  • 30
  • 61
1
vote
0 answers

Getting all the certificates in UWP

I'm trying to build a basic uwp app that is capable of searching and relocating certificates. When I invoke var all = await CertificateStores.FindAllAsync(); var z = all.Count;// z = 0 z is always 0. Although I think that it should return all the…
user2810895
  • 1,284
  • 3
  • 19
  • 33
1
vote
2 answers

Android Studio 3.0.1 (Windows 10 64-bit) stuck at "Executing tasks: [:app:assembleDebug]" when building project

The process gets stuck if I am trying to run the app (even when I start from a fresh new project) both on an emulator (Android 5.0 or 6.0) or on my phone (Android 7.1). Following some results I found online, I tried to run gradle offline but it did…
1
vote
1 answer

Where is the .ico file located in Windows 10 (1709) for each UWP App?

I am modifying a context menu (HKCR\DesktopBackground\Shell) to add a command line to launch a UWP App. The Added Registry Key (including the "Command" SubKey with the following string value: explorer.exe shell:AppsFolder\Full AppID) works…
PC Pilot
  • 21
  • 2
  • 5
1
vote
2 answers

Binding List of user controls to flipview?

I am planning to implement horizontal list of user controls, which i want to add it to the flip view during runtime, I tried the following code:
sahiljain
  • 2,215
  • 1
  • 29
  • 39
1
vote
0 answers

BluetoothLE GattCharacteristic ValueChanged event not firing

I am using the Windows-Universal-Samples BluetoothLE sample as a starting place to connect to a Polar heartrate device, but ultimately i want the functionality in a desktop application. Using the WIndows 10 SDK (10.0.15063.0), I created a standalone…
1
vote
0 answers

Detect show/hide Task View (Win+Tab)

I'm developing a Application Desktop Toolbar (next Toolbar). Toolbar receives ABN_FULLSCREENAPP notification when a fullscreen application window is opened or closed (e.g. through F11). A window is fullscreen when its client area occupies the entire…
Asaq
  • 521
  • 5
  • 13
1
vote
3 answers

Desktop bridge - wpftool kit dependency issue

I have a desktop WPF application and its have the dependency of WPFToolkit binary. Currently I'm trying to convert WPF application to UWP using desktop bridge manual option. referring the below option to do…
1
vote
1 answer

Windows process abandon parent. How to get hold of them?

I wrote a program launching and monitoring and generally manage other programs. In the general case I prepare a System.Diagnostics.ProcessStartInfo and invoke Process.Start. Later I start one thread per program that's checking periodically the…
Michael K.
  • 423
  • 1
  • 4
  • 13
1
vote
1 answer

C# screensaver with legacy .NET 3DEngine - build configuration

I coded a C# screensaver which works in preview (install) mode, config or even test mode. However, when reaching the windows timer to launch it, screen goes black, I see the mouse loading icon for 2-3 sec and then the screen revert on the desktop. I…