• 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 to programming in C++ for the Windows platform. Feel free to...
[no replies]
Is it possible to use catch2 testing in a graphics windows application?
 
Hi, I have a Windows graphics application built with MFC and wanted to write unit tests using the Catch2 framework but when it executes it runs the dialog an...
[3 replies] Last: After much study, I come to the conclusion that although you can start... (by JUANDENT)
Talk to MS Word files?
 
Can C++ be used to talk to MS Word files or even talk to Word VBA? I mean do things like extract text, get data from document properties, etc. If anybody has an...
[7 replies] Last: I am interested in making a commercial plugin that creates a Word fil... (by seeplus)
by Mif
C programming. I need some help with void* pointer
 
Hello guys.. I have a function that is helping me to load assets from and archive file, and it looks like this: DWORD LoadAssetsFromArchive(_In_ char* Archiv...
[6 replies] Last: DFCL, DFCL.... (by seeplus)
Retrieving MSVS msbuild commandline
 
My apologies if this isn't the best place for this. My question isn't really about Windows Programming but I didn't know where else to ask. I'm learning Githu...
[4 replies] Last: I agree with your second point and believe this is probably the only w... (by SimpleCoder)
Cannot access rc file in resource viewer!!
 
in a MFC app, once of a sudden I cannot open the rc file in the resource viewer!! It says I have it open in some other editor!! Please help! I rebooted to n...
[3 replies] Last: If the IDE has the resource definition header file and/or the resource... (by George P)
Need a starter project for Visual Studio 2022, C++, multiple dialogs
 
Need a starter project for Visual Studio 2022, C++, multiple dialogs I cannot get a project started as I need it. Visual Studio 2022, C++, multiple dialogs. ...
[3 replies] Last: The requirements for this smell a lot like a school/college assignment... (by George P)
new versions of vcpkg don't seem to support classic mode!!
 
Hi, the latest versions of vcpkg do not seem to support classic mode. I get: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg>vcpkg i...
[3 replies] Last: Speaking of bugs with vcpkg.... A recent update to vcpkg apparently d... (by George P)
how tto run vcpkg package manager in classic mode?
 
I want to download libraries to a system wide installed directory NOT using manifests! that is, how to call vcpkg new in classic mode??
[3 replies] Last: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg>vcp... (by JUANDENT)
by R1S8K
Clearing the window api
 
Hi, I'm starting learning win32 api programming. I working on developing pages, but the problem is that when I get back to the main page, the window isn't...
[5 replies] Last: When it comes to what's been drawn in an app's client area and whether... (by George P)
file not displayed in text editor binary unsupported encoding
 
for some files when working with git, I suddenly get this message What can I do? it seems to be related to visual studio code only!!
[2 replies] Last: Also, if the file is UTF-16, not plain ASCII or UTF-8, Git may treat... (by kigar64551)
How to obtain the path to OneDrive?
 
Hi, I know I can obtain the path to OneDrive in the command line like this: c:\>echo %ONEDRIVE% and the system will show the path, something like...
[3 replies] Last: If you don't want to rely on environment variables, read from the regi... (by kigar64551)
by ruzip
Window Close Button MessageBox with GLUT
 
Is there a way to attach a messagebox confirmation if a GLUT Window close button is triggered? Currently this works but it disables GLUT keyboard events: LRE...
[3 replies] Last: Try with global __glutCurrentWindow variable: extern GLUTwindow *_... (by kigar64551)
GUI resource to support User selection of fon size
 
How does one incorporate a GUI interface in a W32 app to select font and font size similar to that supported by MS Word?
[2 replies] Last: Thanks for your info, which I am currently digesting. (by rwhoech)
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 API. So far I tried several approaches: #include <window...
[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 Precision Floating-Point Reliable) Library and the GNU MP Bignum...
[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 point GetMangledSiteSid could not be located in the dynamic...
[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 tried: git clone git://gcc.gnu.org/git/gcc.git but callin...
[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 of Proxychaining with C++ and WinSocks from Scratch and i ran...
[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 v17.6.0
[no replies]
  Archived months: [jan2024]