• Forum
  • Windows Programming

Windows Programming

by admin
Welcome to this board!
Welcome to the Windows forum in C++.com! In this forum, users can to talk about any topic related t...
[no replies]
Obtain desktop dimensions while DPI scaling is enabled
Good day! I am looking for a way to get physical desktop (primary monitor) resolution using Windows...
[5 replies] Last: I am also aware of "Properties" > "Compatibility" tab > "Override hig... (by kigar64551)
by haha01
Time Precision in Gaming: GNU MPFR vs. GNU MP Bignum
Hello everyone, I'd like to discuss an interesting comparison between the GNU MPFR (Multiple Prec...
[10 replies] Last: i need full precision from rdtsc and only 64 bit do it (by haha01)
by ruzip
GetMangledSiteSid Entry Point error
When building an exe using Windows in MinGW g++, I get an error when I run it: The procedure entry...
[6 replies] Last: That was one of the links I read for my comment, kigar. :Þ (by George P)
How can I download GCC for windows latest version?
Hi, I need the latest GCC compiler collection for Windows but cannot find it. Please help... I tri...
[3 replies] Last: Yeah, MSYS2 has a really nice feature, a package manager that makes in... (by George P)
How to Proxychain properly with WinSocks?
Hello there, ive been working on a school project to demonstrate the (onion routing like) process o...
[6 replies] Last: Thank you for the fantastic explanation. I now understand better what ... (by LukeProducts)
How to disable using vcpkg in a project from the command line?
what is the command line option to set vcpkg OFF for a certain C++ project? My compiler is VS2022 v1...
[no replies]
Does g++ support c++20 modules?
Hi, I have tried the following command line: Q:\c++\g++> g++ -std=c++20 -fmodules-ts -o m...
[7 replies] Last: Here is my gcc/g++ https://winlibs.com/ I have 12.2, but I see I shou... (by oggin)
I have font class which is a wrapper around API's that create HFONT . Relevant excerpt from class:...
[1 reply] : In the meantime I've found a better method with IDWriteGdiInterop::Cr... (by malibor)
Is tab control a parent like group box?
Talking of common controls and talking with my self to determine control relationships, I need help ...
[5 replies] Last: This article from Raymond Chen really confirms what I have been debugg... (by malibor)
How to debug a CMakeLists.txt in MSVC 2022?
I read that it is possible to debug a CMakeLists.txt file in MSVC 2022 but I have not been able to a...
[2 replies] Last: Configure CMake debugging sessions in Visual Studio https://learn.mic... (by George P)
What should be return value for WM_CONTEXTMENU?
I'm handling a WM_CONTEXTMENU to show a pop up menu. According to docs there is no return value. ...
[2 replies] Last: Yes it seems return value is not important but I'm unable to find some... (by malibor)
by ruzip
Printing International Fonts w/o changing console fonts
This one works, but is changing the whole console font and size. Is there a windows way simil...
[2 replies] Last: @maxim2511 I think mixing Win32 API functions and C/C++ Runtime fun... (by kigar64551)
How to find a list of supported locales in Windows?
need the names of supported locales in Windows please!
[2 replies] Last: When using #include <windows.h>, consider also having before #defin... (by seeplus)
Is there an API to determine COM apartment model?
Suppose you initialize COM with CoInitializeEx(NULL, COINIT_MULTITHREADED); Is there a function w...
[2 replies] Last: Nice, this is exactly what I need. Thanks! (by malibor)
How to add a project in one solution as a reference to another project in another solution?
Hi, Previously in a C++ native project, one could add dependencies to static libraries (.lib) and d...
[1 reply] : Referencing a project from another solution is not possible. Instead ... (by malibor)
by ruzip
fmemopen for Windows?
Is there any library that can treat memory as file stream like fmemopen on Windows? and how to us...
[4 replies] Last: Thanks for the suggestions. (by ruzip)
Are there any good books to learn how to do Windows apps?
HI All, I want to learn how to do Windows apps. Does anyone know where on the internet or a good boo...
[18 replies] Last: I didn't chase it, but bought a new one is all. So far its same as 10 ... (by jonnin)
Problems passing argv to function using cstdarg
Program fails to list input arguments one at a time. Gives programing error (Access violation readi...
[4 replies] Last: Thanks VERY much. I was trying to do it the hard way. (by tigerlcf)
Messages associated with custom control not visible in Class Wizard!
HI, I am using MFC with VS2022. I have a custom control grid and when I create an object of it in...
[2 replies] Last: Thank you jonnin. However we can't add notification messages that are ... (by JUANDENT)
  Archived months: [jul2023]