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
4
votes
0 answers

QT application stay on top on windows 10

QMainWindow::setWindowFlags(Qt::WindowStaysOnTopHint) works on all versions of Windows except for Windows 10. On Windows 10, user can switch desktop using short-cut key: Windows + Tab, and create a new desktop. Thus the user can leave the Qt…
xhsoldier
  • 575
  • 6
  • 31
3
votes
1 answer

Why uwp apps take long time to start?

Even an uwp app containing nothing but a button starts up slower than a wpf or winform app. Is there any reason behind it?? Is this because of uwp apps running in container that makes the start up process slow??
Soumya Mahunt
  • 2,148
  • 12
  • 30
3
votes
2 answers

asp.net core web api work on iis express but not working in iis on windows

i am new in asp.net core. i use asp.net core 2.1. i have two controller. a default valuecontroller that doesn't have db connection and customerController that have sqlserver db connection. when i run my project on iis express everything is good but…
3
votes
1 answer

How to create .exe/.msi for uwp application

We have developed a desktop application, it should run in both PC's and table's, that's the reason we have chosen UWP. Now I have to Packaging UWP application as .exe or .msi to provide it to my clients. I did some research on the internet but…
3
votes
1 answer

After updating Windows to 1903 (May 2019) JavaFX fails to create stage

I updated my Windows 10 laptop with May 2019 build (1903) and JavaFX does not seem to work anymore. After launching any JavaFX application, I see an icon on the taskbar, but no window is created. My java is the latest Java 8, latest Eclipse as…
alam33
  • 63
  • 8
3
votes
1 answer

Unable to build for ARM64 from UWP packaging project (UWP + Win32)

I'm working on a UWP application that has both a UWP app and a small Win32 program, linked from a UWP packaging project. My solution looks something like this: OneLocker (UWP) OneLocker.AutoTyper (Win32, WinForms in particular) OneLocker.Package…
Sergio0694
  • 4,447
  • 3
  • 31
  • 58
3
votes
2 answers

How to launch an Universal App as another user with WinAPI?

How can I launch an Universal App as another user using CreateProcessWithLogonW()? I cannot get it to launch using C:\\Windows\\System32\\cmd.exe /c start skype: even though start skype: does launch in the terminal. #include #include…
3
votes
2 answers

Is it possible to query the camera privacy settings for windows 10?

It appears that the Windows 10 April update has changed access permissions for devices such as the camera and microphone, restricting all by default to none. https://privacy.microsoft.com/en-us/windows-10-camera-and-privacy I am using a Realsense…
Thomas Hetzer
  • 1,537
  • 13
  • 24
3
votes
1 answer

On window.open window's width and height not set properly in Windows10

We are opening a browser window using window.Open and sets the desktop's avail width and avail height. It's working perfectly on all Windows OS except Windows10. IE, Chrome and Firefox get some space on browser window's right and left. I spend many…
Pandiyan
  • 129
  • 1
  • 1
  • 7
3
votes
0 answers

SystemEvents.DisplaySettingsChanged not getting HDMI Arrival/Removal event?

I am trying to track a HDMI monitor connection/removal using the below code. That DisplaySettingChanged event is however not triggered for most of the monitors. A HDMI monitor removal event is not raised most of the times. Event registration: …
Arjun babu
  • 607
  • 2
  • 13
  • 42
3
votes
2 answers

Drawing a highlighting border around a region of the screen in Qt5 on Windows 10

I'm writing a desktop application on Windows 10 that does something similar to "share your screen/app window", and I've got the classic problem of trying to highlight the region of interest on the screen. So I need to draw a bright and thick…
PHYL
  • 101
  • 2
  • 10
3
votes
1 answer

How to use the IVirtualDesktopManager interface in C++/Win32

I need to search for maximized windows from Win32 (by using EnumWindows) but I also want to filter for windows which are on the current virtual desktop. On MSDN, I found a page about the IVirtualDesktopManager interface but there seems to be no…
Jan Böhm
  • 89
  • 1
  • 11
3
votes
1 answer

"No credentials are available in the security package" when connection to Oracle is performed

The tests that performs connection to Oracle database started fail with AuthenticationException after last Windows update. The message and stack trace are provided below: Test method threw exception:…
3
votes
0 answers

XBAP Just Flashes and Won't Run with IE 11 on Windows 10 For Some User

The XBAP is full-trust and it is signed correctly and it runs fine on most of the users. However, I have a user that is running Windows 10 and IE 11 and IE just flashes and the XBAP won't run. You can see the downloaded files window and the full IE…
3
votes
0 answers

Do we still store program data in C:\ProgramData or in C:\Users\user1\AppData in Windows 10?

First I will explain my problem. I am updating software to fit the needs for Windows 10 users. Currently we are using C:\ProgramData to store Product databases and product pricing databases. Each quarter we release new version of the software that…
1 2
3
24 25