Questions tagged [windows]

Writing software specific to the Microsoft Windows operating system: APIs, behaviours, etc. GENERAL WINDOWS SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Convert bytes from "OpenSavePidlMRU" into "ITEMIDLIST"

I want extract a path from the windows HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU. I didn't find the documentation but it seems that the value ...
  • 1
0 votes
0 answers
7 views

CMake GUI can't specify vcpkg toolchain using %VCPKG_ROOT%

Using the CMake GUI on Windows, if I select "Specify toolchain file for cross-compiling" I can then provide the explicit path to my vcpkg.cmake file, and my project will Configure, Generate, ...
  • 10.3k
0 votes
0 answers
16 views

Can gradient artifacts be avoided when a rectangle is drawn as two separate triangles?

I want to draw a rectangle such that each of its pixels are interpolated from the colors specified at its four corners, and it needs to be fast. I'm currently doing it by drawing two triangles, using ...
0 votes
1 answer
25 views

batch file - read ini file ignoring comments

Given this sample.ini file: [this is a comment1] Parameter1=sun [this is a comment2] Parameter2=is [this is a comment3] Parameter3=shining I wrote this batch to process that process the sample.ini ...
  • 6,782
0 votes
0 answers
13 views

How to edit header labels and convert data rows to columns in batch file?

I have a CSV file with a single header record and field data as: region,travelnum,seatnum,1.Stat.Money.Min,1.Stat.Money.Avg,1.Stat.Money.Med,1.Stat.Money.Max,1.Stat.Money.Std,1.Stat.Family.Min,1.Stat....
0 votes
1 answer
22 views

How I can find my program has access to cameras

How can I find out if my program has access to cameras? I use TdxCameraControl by Dev Express in Delphi 10.1 and Windows 11.
0 votes
0 answers
6 views

Output of hadoop wordcount mapreduce example is empty on windows (hadoop run locally)

Hi this is my first time ask a question on stackoverflow and my English is bad. I have google many times but still not find out the solution for my problem. My problem is after running the mapreduce ...
2 votes
0 answers
17 views

Connect multiple firebase projects to the same flutter desktop app

I am building a windows desktop app using flutter. I hava 2 firebase projects I want to connect with. First one I am using for authentication (log in using email and password) and for that I am using ...
0 votes
0 answers
10 views

Electron app won't close when pressing close button in titlebar

I tried to make a chess game which is downloadable, but you can't close the application via the close button in the titlebar and I don't know why This is the code on the index.js (the file which ...
  • 1
0 votes
0 answers
15 views

Cabal installing libraries give conflicting ghc-boot

I had to reinstall ghc on windows. After this succeeded, I am unable to install packages using cabal. I have done cabal install cabal-install. I can run tests, and build. However, installing any ...
-1 votes
0 answers
13 views

scp from linux to windows [file transfer successful but file was not there] [closed]

This is not really a question but I rather got it working and this is specific for my case. Thought that I should share it here so that if for any reason, I need this again, this may help me or anyone ...
0 votes
1 answer
22 views

Is it possible to create a universal hyperlink in excel for windows and mac without programming

Is it possible to make one hyperlink to a folder or files in an excel cell for Windows and MacOS ? Tried starting from paths smb:\ and file:\\ on Windows, similar on Mac, e.g. \192.168.100.60
  • 1
-2 votes
0 answers
13 views

grub on Ubuntu 22.04 does not detect Windows boot manager for Windows 11 [closed]

I would like to select OS on grub menu. In my computer, Ubuntu 22.04 and Windows 11 are installed on different drives. Secure boot and fast boot are disabled. On UEFI menu, I can select Ubuntu 22.04 ...
-2 votes
0 answers
14 views

How to download and Install SQLite on Windows? [closed]

I am beginner at SQLite database, Can someone explain me how to install SQLite on windows and how to start it every time ? Previously, I used MySQL and MariaDB with WAMP server of Windows. I want to ...
  • 34
0 votes
1 answer
25 views

In what ways can a BackgroundService get stopped?

I developed a REST API using .NET 6. This API (running on a windows server system) has a background process by implementing a class inheriting from the BackgroundService class. The only method of ...
  • 2,268
0 votes
2 answers
21 views

Export/import WLAN profiles in Windows

I created a simple script that creates a ps folder on the C drive and saves there the information about the name of the wifi connection and the password from it in xml files. Currently the script ...
  • 1
1 vote
0 answers
15 views

how do I successfully to using hexagonsdk

when i install hexagon sdk 5.1.0.0 using QPM, error occured "hexagonsdk5x_jre.5.2.0.0.windows-x86.exe hexagonsdk5x_jre.5.2.0.0.windows-x86.exe was not installed". then install these deps ...
  • 11
0 votes
0 answers
9 views

Automatically run task when project is loaded but use same terminal windows as user

The espressif SDK has a specific build command, namely idf.py build, which will build the current app. For this to work it needs to have some enivornment variables exported into the same terminal ...
  • 2,921
0 votes
0 answers
5 views

unreal 5 game packaging problem 'json 43'

unreal 5 doesnt packate a game, fighed with the problem 'json 43', itlooks like its solved but i dont think so, still i got nothing trying to packet tryied to package a very base game to understand if ...
1 vote
0 answers
22 views

Intercepting Windows messages with a global hook that application does not peeks or gets

I'm writing a global hook to listen to the Korean letter compositions. (You're not required to know how Korean letters are composed, please read through...) The dll's code: #include <fstream> #...
  • 350
0 votes
0 answers
6 views

Building GMP on Windows - Static libs: Ok - Shared libs: unresolved symbols

I have successfully built GMP static libs on Windows with MSYS2, with the following configuration: ./configure --enable-cxx --enable-fat \ --prefix /usr/local/gmp/dbg \ CFLAGS="-g -Og ...
1 vote
1 answer
36 views

Unable to install Microchip Studio due to Windows Task Manager for Microchip Studio installer

While downloading Microchip Studio, I faced this error message. Is there anyone who happens to know the solution? Thank you.
0 votes
0 answers
15 views

How to remove "python.exe" from open with list after it is uninstalled?

I was reinstalling python, but after I uninstall python, python.exe was showing as an option in the open with list of windows 11 even though it was not installed. I reinstalled python but when i tried ...
0 votes
3 answers
44 views

How do I store the input on a numeric up down value in windows forms in a variable and use that variable as a labels text?

I am working on a windows forms assignment and am not good at C#. I have a numeric up-down control that represents a tip and the professor wants me to add whatever the user inputs on that to display ...
0 votes
0 answers
13 views

Windows screen magnifier [closed]

I’m looking for a bit of guidance as I’m not sure where to post a question like this or even what website/forum to visit. Any suggestions either to solve my issue or where to post such a question ...
0 votes
0 answers
37 views

How do I get Windows network status in C/C++? [closed]

Windows displays in the taskbar different icons demonstrating the different levels, and types of internet one has, be that Wi-Fi, and how good the connection is, ethernet, or no connection at all. I ...
0 votes
0 answers
7 views

Changing a set of icons for an exe

I couldn't think of a better place to ask this question - however, if there is a better place, please let me know, and I can maybe remove this question, or re-word it, or something. The big problem I ...
-2 votes
0 answers
16 views

Windows Form Application Rotating and displaying a 3D STL Object [closed]

I want to rotate a 3D STL model on a Windows Form application based on incoming parameters and display it visually inside the application. I can prepare codes and models using Unity, but I don't know ...
0 votes
0 answers
14 views

Keep running into a 403 forbidden error when opening file on localhost Apache server

I recently installed Apache server for a PHP class that I'm taking and have been running into this 403 forbidden error. Web page that reads 'Forbidden. You don't have permission to access this ...
-2 votes
0 answers
32 views

Use a bat file to open a file using an EXE

I have 3 files, C:\folder\open.bat, C:\folder\program.exe and C:\folder\document.123. Using open.bat, is there any way to open document.123 with program.exe? I tried to find a way on the internet, but ...
-1 votes
2 answers
59 views

Binding a Pidl with function BindToObject?

Here is my Rust code: use std::mem::ManuallyDrop; use windows::core::ComInterface; use windows::Win32::System::Com::*; use windows::Win32::UI::Shell::Common::ITEMIDLIST; use windows::{core::Result, ...
  • 1
2 votes
0 answers
67 views

How to display an icon in a Notification Center message?

Is it possible to display an icon in a notification message? I use this code to show the notification, but it doesn't seem to have any property for an image: MyNotification := NC.CreateNotification; ...
0 votes
0 answers
14 views

Getting error while starting Kafka(3.4.0) with KRaft on windows machine

I am trying to start the Kafka with KRaft by following doc here - https://kafka.apache.org/quickstart on windows machine. Note - The same version of kafka works perfectly fine with zookeeper Step 1 - ...
0 votes
0 answers
23 views

How to install node http-server (with argument) as a service in windows?

I trying to give access to local files through a webserver for VS2022's integrated edge; but there is a policy that prevents from accessing to local files, so I try to run a light web server as a ...
  • 6,106
0 votes
0 answers
18 views

I can't get VaultWarden container to start anymore

I have been using Vaultwarden for a few weeks and the other day I restarted my box and now for some reason VaultWarden will not start. For context, it is being run inside a docker container on Windows ...
0 votes
0 answers
27 views

Problem in decoding Base64 encoded wchar_t* in plain C

I am having trouble finding a working implementation in C (not C++) to decode a wchar_t* encoded Base64. I've tried creating my own implementation by modifying existing ones but it doesn't seem to ...
0 votes
1 answer
32 views

How to handle paths with spaces when passing arguments to a Rust CLI program on Windows?

I'm writing a Rust CLI program on Windows that expects the user to pass one or more paths as command-line arguments. The program works fine when the paths don't have spaces, but I'm having trouble ...
0 votes
0 answers
39 views

Why does Get-ChildItem fail on accessing a directory on a different machine on PowerShell script executed by task scheduler?

I am working on the following PowerShell script that has as purpose to collect and look for errors in log files. The PowerShell script is the following: $date = Get-Date -format dd.MM.yy $time = Get-...
  • 1
-2 votes
0 answers
8 views

WHY SOME FILES BEING STORED WITH .ram extension INSTEAD OF DEFAULT EXTENSION [closed]

have come across a situation where a file is stored with .ram extension instead of its default extension,so is there any shortcut on windows operating system to store file as .ram file,felt like some ...
0 votes
0 answers
5 views

Python monitor network traffic of specific process with Windows Event Trace API

Question I am trying to re-create a similar tool in Python as LiveTcpUdpWatch, which can display live information about all TCP and UDP activity on my system from an app/process (let's say app.exe), ...
-1 votes
0 answers
9 views

I disabled hyper V via a command line, now i cant turn it back on

Basically Hyper v was causing some issues with one software so I tried to turn it off which didnt solve it so I had to use a command line to uninstall it now I want to install it back, cause my NVIDIA ...
  • 1
0 votes
1 answer
36 views

Obtain list of files created by (child) process

On Windows, is it possible to get a list of all files a process, that was programmatically started from our application, created while it was/is running? Are there any .NET or Win32 APIs to do this?
  • 934
0 votes
0 answers
11 views

How access not accessible UI element?

I am trying to automate SQL developer connection using FlaUI and windows accessibility insights tool but windows accessibility insights tool not detecting some UI element[plus[green button]]. Please ...
  • 9
0 votes
0 answers
24 views

Event Tracing for Windows

I am using Sysmon to collect logs on windows and I have got to know from TrustedSec Github page that Sysmon uses Event Tracing for Windows(ETW) to collect it's logs. Now I am trying to figure out the ...
0 votes
0 answers
9 views

How can I run Java Mission Control with default service permission to track it?

My app gets excessive RAM usage after a few weeks. Very likely memory leak, not disposed stream etc. It's launched as windows service with default account(SYSTEM). How can I run Java Mission Control ...
0 votes
0 answers
14 views

Why does RPCSS would have a handle which type is token and whose owner is SYSTEM?

I am trying to understand token kidnapping. I read this: get the PID of the “rpcss” service open the process, list all handles and for each handle try to duplicate it and get the handle type if handle ...
0 votes
0 answers
19 views

CMake issue after installing Mingw64 (in PATH environment) windows 7

I get The C compiler identification is unknown Eclipse version is set to 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong. CMake Error at CMakeLists.txt:3 (project): No CMAKE_C_COMPILER ...
0 votes
0 answers
24 views

Installing libssh on windows using vcpkg

I'm trying to install libssh on windows using vcpkg like they recommend libssh download guid. but when I run vcpkg install libssh it starts downloading stuff and configures cmake but when it tries to ...
-3 votes
0 answers
24 views

How can I create an SDL2 window without a terminal? [duplicate]

I'm using Microsoft Visual Studio 2022 and I recently created a small game. But now I have the problem that I don't want the terminal window to pop up when the executable is run. Is this possible? Thx ...
0 votes
0 answers
55 views

How to configure a search directory for LoadLibraryW() in Visual Studio

I'm loading a DLL in an application. If I have the full path hardcoded in the program, it looks like this: LPCWSTR dllPath = L"C:\\MyLibs\\PernumLib.dll"; HINSTANCE hinstDLL = LoadLibraryW(...

1
2 3 4 5
3292