Skip to main content

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

51 votes
3 answers
65k views

Where is the Chocolatey installation path?

I am looking to find out the current Chocolatey installation path using PowerShell.
13 votes
3 answers
28k views

How to set up CMake to cross compile with clang for ARM embedded on Windows?

I'm trying to generate Ninja makefiles to cross compile a C++ project with Clang for an ARM Cortex A5 CPU. I created a toolchain file for CMake but it seems like there is an error or something missing ...
1 vote
0 answers
33 views

How do I make CMake find default system libraries to link against without manual script manipulation?

I am trying to build a CMake project on my new pc, I have installed the appropriate Windows 10 Dev kit. But when trying generate the build files using cmake, I am getting linking errors by the cmake's ...
4 votes
1 answer
1k views

Is there any way to run a Flutter app through background on macOS or Windows desktop?

I want to make a clipboard application for macOS operating system. For this, the application I wrote with Flutter should continue to work in the background without dying. I've looked at a few ...
0 votes
0 answers
19 views

A seemingly stopped HTTP service continues to work

I wrote a python function, detailed in another post, which communicates with an HTTP-based RumbleDB server, running on my local machine, in order to evaluate JSONiq queries. I tested the function in a ...
0 votes
0 answers
14 views

Running .NET Framework 4.7 DLLs in a Docker Container on Windows

I have an application for which I only have the compiled DLL files, but I do not have the source code. Is it possible to add the DLL's into a Docker container and run them using .NET Framework 4.7 on ...
65 votes
8 answers
90k views

What's the C++ version of Guid.NewGuid()?

I need to create a GUID in an unmanaged windows C++ project. I'm used to C#, where I'd use Guid.NewGuid(). What's the (unmanaged windows) C++ version?
0 votes
0 answers
25 views

Getting Windows user's name in "Firstname Lastname" format when user is part of a group

I'm trying to get the name of the currently logged in Windows user in the format "John Doe". I'm not sure if there's an accepted term for this, but think, the name you see when you bring up ...
0 votes
2 answers
1k views

Give python process a name or title for windows

I have multiple python scripts that keep running in background. I need to distinguish between them. So I think about giving every script like a name or title that shows up in task manager or PROCESS ...
0 votes
1 answer
49 views

My python chat server does not send messages properly

When sending a message for the send time from the client it is not sent to the other client. I'm fairly new to Python and sockets. some of the commented off code has been code I've tried but has not ...
0 votes
1 answer
3k views

C# application not running on startup

I can't for the life of me figure this one out. I have created a fairly large C# application that basically runs a bunch of separate components and reboots the machine periodically. The idea of this ...
-2 votes
0 answers
22 views

How to Secure Database Access (Credentials) in a Windows Desktop Application Communicating Directly with a DBMS? [closed]

Given is a Windows desktop application (written in Java) that communicates directly with a DBMS (SQL). There is no service layer between the desktop application and the DBMS. How can one secure the ...
0 votes
0 answers
9 views

I'm trying to show slots for pfkcs11 and I'm using windows but instead I get an error that the library failed to load

I am trying to show slots using softhsm but I get an error. The code and error is: softhsm2-util --show-slots ERROR: Could not load the PKCS#11 library/module: LoadLibraryA failed: 0x0000007E ERROR: ...
0 votes
2 answers
4k views

Required environment variables for JDK 17

I am trying to install java to my Windows 11 machine but when I try run java -version in the command prompt, I get 'java' is not recognized as an internal or external command. In my computer's System ...
35 votes
5 answers
87k views

Notification using python

Is it possible to add a notification in windows using python? Like a notification box with some information about an update or something In windows if you didn't already figure that by this picture..

15 30 50 per page
1
2 3 4 5
11257