Skip to main content

Questions tagged [windows]

Questions involving programming on Microsoft Windows technology, including its API.

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 ...
t3chb0t's user avatar
  • 2,582
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 ...
baron's user avatar
  • 55
-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 ...
user22155685's user avatar
-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 ...
Agostino's user avatar
-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 ...
microsoftdeveloperdesigner's user avatar
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 ...
Motti's user avatar
  • 85
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 ...
data princess's user avatar
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> ...
VJZ's user avatar
  • 127
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/...
sɐun��ɔןɐqɐp's user avatar
-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. ...
Lenin's user avatar
  • 3
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, ...
SilverRain's user avatar
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 ...
Junes's user avatar
  • 11
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 ...
lol's user avatar
  • 113
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 ...
Hardipsinh Jadeja's user avatar
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 ...
DrWCTapir's user avatar

15 30 50 per page
1
2 3 4 5
22