Skip to main content
17 votes
4 answers
2k views

Why doesn't printing a Unicode character with wprintf work?

I made a small C program that should print an emoji: #include <stdio.h> #include <windows.h> int main(void) { SetConsoleOutputCP(CP_UTF8); printf("\U0001F625\n"); // 😥 ...
Tim's user avatar
  • 195
10 votes
1 answer
576 views

How can I set up Thread-Local Storage (TLS) callbacks on Windows without CRT?

I'm trying to register a Thread-Local Storage (TLS) callback in a Windows application without using the C runtime (CRT). Compiler: MSVC 14.44.35207 (Visual Studio 2022) Target: x64 OS: Windows 11 I ...
felix's user avatar
  • 111
-4 votes
1 answer
219 views

Can Postman manage mTLS negotiation using client cert from Windows keystore? [closed]

I'm trying work out a plan for managing access to mTLS secured endpoints (a.k.a 'client certificates') for developers and testers who generally prefer to use Postman. Ideally, we would use non-...
JimmyJames's user avatar
  • 1,649
2 votes
2 answers
171 views

What is the biggest number that MSXML can handle in XSLT?

When doing some numerical calculations in XSL templates I stumbled over the fact that a value of 3.600.000.000 which represents the number of microseconds in an hour can be represented in MSXML v6 ...
blerontin's user avatar
  • 3,197
Tooling
0 votes
3 replies
99 views

Transferring basic Powershell scripts to a full secure windows program

I reviewed the suggested posted, but didn't find an exact match. I've created PS scripts where there is one parent script that runs its functions and then calls upon 25 other subscripts in sequence to ...
JeffR's user avatar
  • 3
0 votes
4 answers
122 views

How to get from a url string the path to a file with a FOR loop in a Windows batch file?

Given is a string which is a url of a file, e.g. http://url.com/file.zip. I want to extract the path without the file name, i.e. http://url.com/. My idea for doing this was to break down the string ...
C4lculated's user avatar
0 votes
2 answers
79 views

unable to install pytidycensus

I tried to install pytidycensus per these instructions: https://mmann1123.github.io/pytidycensus/index.html pip install pytidycensus OS Windows 11, current as of 10/31/2025, with Python 3.13.7 ...
Pietro Calogero's user avatar
3 votes
0 answers
179 views

Why does setting a slightly smaller resolution(e.g., 1900×1080 instead of 1920×1080) drastically improve USB camera performance in OpenCV on Windows [closed]

I'm using OpenCV-Python on Windows 11 to capture video from a USB camera for object detection tasks. However, I noticed that the camera’s frame rate is extremely low — maybe only about 1 FPS, even ...
Chiyu's user avatar
  • 39
0 votes
1 answer
123 views

C# Https call using HttpClient does work in Windows 7, but not in Windows 10

In Windows 7 32-bit, on .NET 4.6.1, this code works fine and the remote server is returning data: using (HttpClient client = new HttpClient()) { client.Timeout = TimeSpan.FromSeconds(3); ...
panci matika's user avatar
1 vote
1 answer
71 views

integration of windows message loop (PeekMessage -> DispatchMessage) with boost.asio

I have a Windows application that uses boost.asio for I/O. but the asio's io_context::run() executes in a separate thread, because of WinMain() function has while() {} loop with PeekMessage() and ...
niXman's user avatar
  • 83
0 votes
1 answer
95 views

Does integer zero division always raise exception on 64-bit Arm on Windows?

When I perform integer division by zero on Windows 11 on Arm64, it raises a SEH exception. That is rather surprising, considering Arm by default does not trap zero division. My question is: does the ...
Alex Guteniev's user avatar
3 votes
0 answers
154 views

Thread quantum expires in 0.012 milliseconds?

This CPU Usage (Precise) view below seems to indicate that this thread's quantum is expiring after only 0.012 milliseconds on row 19. Rows 6 and 29 look normal with a 15 millisecond thread quantum ...
Marc Sherman's user avatar
  • 2,413
-4 votes
0 answers
93 views

File empty on docker after copying using std::filesystem [closed]

I'm using std::filesystem::copy_file to copy a file to a certain destination. When I read that destination with std::ifstream, under certain conditions, I'm reading an empty file. Original.txt is not ...
Michiel Jaspers's user avatar
-1 votes
1 answer
76 views

Why is the cURL command not working from the batch file? [closed]

I need to use cURL from the batch file (.bat) in Windows. My script is the following: @echo off curl "https://...url1..." -o "D:/path/file1.htm" "https://...url2..." -o &...
lyrically wicked's user avatar
0 votes
0 answers
84 views

Windows apisetschema, not existing lib

While trying to resolve dynamic DLLs (api-ms*, ext-ms*), I face a problem with an undefined reference from kernel32.AddDllDirectory: api-ms-win-core-libraryloader-l1-1-0.AddDllDirectory, but there is ...
DenDon's user avatar
  • 1

15 30 50 per page