Questions tagged [windows]
Questions involving programming on Microsoft Windows technology, including its API.
324
questions
0
votes
3
answers
182
views
Adding a CLI to a Windows service
I have a Windows service that I would like to extend and add a CLI to it similar to docker or Elastic Agent, so I have a question about what kind of approach I should use for the *.exe to communicate ...
2
votes
4
answers
323
views
How would I go about writing my own implementation of Win32 functions?
So I am currently coding a C program for Windows and come across a little bit of a problem. I've been compiling using the mingw-w64 toolchain. In my program, I am attempting to remove as many ...
-2
votes
1
answer
131
views
why we still have Windows Containers when Docker Desktop in Windows still uses a Linux VM?
we know that Docker on Windows runs a virtual machine in the background so that may seem like you are able to run Linux Containers on Windows, but behind the scenes Docker for Windows is actually just ...
-3
votes
1
answer
150
views
Screen share with Windows Remote Desktop Services
I need to create a WPF application that gives me the possibility to connect to other computers in the same network. I'm looking into Windows Remote Desktop Services, but it seems like it doesn't have ...
-2
votes
2
answers
2k
views
Chose between .net 4.8.1 and .net core 6.0 . is the support life cycle an important factor to consider
I want to start developing a long-life ERP system to a customer. now on paper I would chose to develop it using .NET core 6.0 with SQL Server. But one of the main drawbacks which the customer did not ...
5
votes
5
answers
5k
views
How can I protect an SQL connection string in a client-side application?
I am developing a .NET Windows application and I need to make requests to a SQL Server instance. How do I secure the authentication data in my code in case someone decompiles my application?
I know ...
4
votes
1
answer
193
views
I'm adding Windows Home support to my client application. How can I perform automated testing?
My team and I publish a client app as part of our solution. It includes a CLI but there are other components as well. Currently most of us develop locally on MacOS, and as part of our CI/CD we have a ...
0
votes
4
answers
2k
views
Share Global Variable in DLL, feasible or naive?
So the gist is to have a static global variable that can be modified by different executables. For example I have 2 different source files including the same dll.h:
dll.h
#include <iostream>
...
12
votes
3
answers
3k
views
Deploy C#/C++ binaries incrementally by patching the difference
My company has a huge C++/C# software system composed of 1800 binaries. The technology range goes from old school native C++ Static Libs, C++/MFC, C++/CLI, up to .NET Framework, .NET Core 3.1, .NET 6/...
-4
votes
1
answer
155
views
How do different operating systems have different window layouts? [closed]
I have searched on the Internet on how do operating systems have different window layouts, but I have found nothing. Windows has one style, Mac OS has another, and Linux has a different style as well. ...
0
votes
2
answers
330
views
On hanging Desktop-applications
I am filled with questions pertaining to the situations where a desktop-application hangs, possibly for minutes.
I've got this complicated game-engine written in c++. Several times during development, ...
0
votes
1
answer
209
views
Handling/queueing a Windows-Service restart to apply new changes
I'm working on a project that has the purpose to execute tasks in intervals.
The tasks and it's properties can be configured through the Configuration Website. The data is being stored in the ...
0
votes
1
answer
762
views
Asynchronous Server in C++
We are looking to develop an asynchronous server in C++. We are coming from C#, which has built-in support for async-await networking. However, with C++ it appears as if it is basically mandatory to ...
2
votes
2
answers
1k
views
What is suggested way to use iHostedService of .NET core or Windows service when process runs for exponential hour time (up till hours)?
I wanted to create a background job in which I want to use the retry mechanism for that I want to use the Polly. My requirement is like this:
the First retry should be done after 2 hours
the Second ...
3
votes
2
answers
4k
views
How to read all the memory of another process in windows?
The title really says it all, I want to have all the readable memory of another process in a buffer. I understand that I will have to use ReadProcessMemory(), but If I'm correct I can't just use one ...