Printing a file in Windows App SDK (tested printing thought processstartinfo with verb print) its not working
I am migrating my app from UWP to WinUI 3 in Desktop with windows app sdk. I used to print using print manager in uwp. So printing a file in Windows App SDK by printing thought processstartinfo with verb "print" its not working. is this a…
How to list all physical drives and find there drive letter?
What I am doing is, to help users (me) to find the raw data sdcard (its physical drive no). and to warn them (me) not to WRITE any thing on that drive letter. for finding part, I have done this: for (1 to 10) { …
Starting a process in an AppContainer from a service (LOCAL_SYSTEM)
Hello, I am trying to run a process in an AppContainer. This process is created from a service, so is in session 0 running as LOCAL_SYSTEM. I have also tried CreateProcessAsUser to run it as LOCAL_SERVICE (also in session 0) and it doesn't work. …
Does winui 3 desktop application support "Windows.ApplicationModel.Email"?
Hello everyone, In uwp, using the following code to achieve the mail function works very well. var emailMessage = new Windows.ApplicationModel.Email.EmailMessage(); var email = new ContactEmail() …
BCryptEncrypt API failing for AES-128-CFB-128 when the input plaintext is size is not multiple of 16 and padding is off
I trying to encrypt the data with AES-128-CFB-128 using BCryptEncrypt API but API is failing when input plaintext is size is not multiple of 16 and padding is off with error 0xc0000206/STATUS_INVALID_BUFFER_SIZE. AES-CFB encryption is self-synchronizing…
How do I access DWriteCore from a C# managed application?
How do I access DWriteCore from a C# managed application? I'm using .Net5 WindowsAppSDK Desktop. I need to get a SYSTEM and CUSTOM FONT COLLECTION LIST using DWriteCore, but I need to do so from a C# App using WindowsAppSDK, which says it includes…
Impact of uiaccess = true on dlls?
We are planning to update an Exe to uiaccess = true and moving to the secure location. a. Is it required to move the dependent dlls too? b. Did we need to sign and create uiaccess = true manifest for these GUI dlls?
Is the secure location to bypass User Interface Privilege Isolation (UIPI) configurable?
We would like to bypass Interface Privilege Isolation (UIPI) for some applications by specifying UIAccess = true in manifest files. Is it possible to add our own folder as a secure location like, \Program Files\ including subdirectories …
Distribution of an app for Win10 to Windows computers
Hello everyone, I have created a working test app with Visual Studio 19 and the Windows Template Studio for the time being. Unfortunately, there are now problems with the deployment. Do I need a "Developer License " or a "Sideload…
Grouping Windows based on creator
Some applications have single PID with multi instanaces running Eg: Word or MS Teams I need to automate UIA but hoe do i differentiate the windows created by a specific instance Eg : on MS Teams I can have two Instances running under the same PID …
What is the recommended screen display resolution for widows 10 OS, as I am not able to see it in display setting?
What is the recommended screen display resolution for widows 10 OS, as I am not able to see it in display setting? see below windows version & details
I want to call the Windows api to draw the text on the top of the screen, even in the full-screen mode of the game, it can be displayed. How do I do this?
I want to call the Windows api to draw the text on the top of the screen, even in the full-screen mode of the game, it can be displayed. How do I do this? I hope to be able to draw text that displays information such as the temperature of the graphics…
Can I use C++ function _wspawnlp() to call the ssh.exe from my Visual Studio C++ codes?
Hi, experts, I need to call ssh.exe from VS c++ codes. I tried following from the Visual Studio 2013 c++ codes: String sExeName("ssh"); String sHost; errno_t err = _set_errno(0); intptr_t t = _wspawnlp(_P_WAIT, sExeName.c_str(),…
PostMessage from a VBA app to an MFC app
I have a VBA app which uses PostMessage to send data to an MFC app dialog. I use PreTranslateMsg to catch the message in the MFC dialog. What is strange is that it all works if I do not run inside the VS C++ IDE, i.e. run the MFC EXE on its own. …
How to build a Non-Store, Non-MSIX Desktop app using Windows SDK WinUI 3
I built a UWP app that I publish and deploy to about 70 Windows 10 users. It works fine, except I can’t walk around to every user when I update the app, so I created a new build with Enable Automatic Updates. The problem is my company recently disabled…
Cannot find Microsoft.WindowsAppSDK.Bootstrap.dll
Trying tutorial here doesn't work. Getting error "Unable to load DLL 'Microsoft.WindowsAppSDK.Bootstrap.dll' or one of its dependencies" …
[cfAPI] How to report a file is no longer exist and stop fetching?
Hi MS team, I'm developing sync program with cloud filter API. I notice that some antivirus will hook system function (i.e. CreateFile) and trigger fetch callback. In my scenario, the file was being deleted on server side, and my provider start to delete…
WinUI 3(C++/WinRT): "NavViewCompactModeThresholdWidth" not found
According to the sample code of the the document in Microsoft Learn, I wrote almost the same code, but it cannot be compiled. There is an error, "NavViewCompactModeThresholdWidth": is not a member of…
WinUI 3 Issues
I was exploring options to port our existing WPF app to the new WinUI 3. But it seems almost impossible. Even the most basic things are not working as intended, or am I doing something wrong? 1) A Canvas inside a ScrollViewer does not enable any…
WiX MSI installer add optional true/false flag passthrough to Electron app
Currently I am building an Electron project to a MSI installer using electron-builder, which comes with a WiX template.xml that it uses to generate the MSI installer. Is there a way to configure/edit the installer so my Electron app can know what…