• 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]
WinForms Resources, Moved Files
 
I'm working on a WinForms CLR project and I'm using VS 2022. All was well until I created new folders and moved files - everything was in the base project folde...
[7 replies] Last: If you use source control you shouldn't need to manually copy things o... (by Ganado)
printing C++ source file in VS2022 throws garbage
 
Hi, I have a C++ source file that when printing from VS2022 prints what seems garbage (actually it seems to be using a strange font which is impossible to u...
[4 replies] Last: any chance one or all of your code snippet settings use the "Cascadia"... (by jonnin)
Procedure Entry Point Not Found
 
Hello, I am currently using OpenCV-4.5.5-x64 with MinGW and encountering issues when trying to execute the compiled binary. The PATH environment variable is co...
[1 reply] : UPDATE: Ive tried an older Build and OpenCV-MinGW-Build-OpenCV-4.1.1-x... (by LukeProducts)
image compression ffmpeg
 
Hey folks, I’m trying to use FFmpeg in C++ to compress image buffers, but I keep running into a fundamental issue. I’m seeing this error: [libx264 @ ...
[1 reply] : Read the manual page and understand how the functions are supposed to ... (by salem c)
How to properly link ffmpeg library to clion?
 
Hey everyone :), I've been trying to use FFmpeg for video compression and other tasks, but I've been stuck for a while. Up until now, I've mostly avoided linki...
[2 replies] Last: Thank you so much. I realized i mixed up .dll with .lib in the executi... (by LukeProducts)
Compiles with Visual Studio, but not g++
 
#include <sstream> #include <vector> #include <filesystem> #include <fstream> #include <shlobj.h> #include <locale> #include <codecvt> #include <windo...
[5 replies] Last: The import libraries for the WinAPI are different for each compiler, a... (by George PlusPlus)
Are internal partition files supported in VC++ 2022?
 
Can we do this? module name:partition_name; VS 2022 does not compile
[1 reply] : Yes, VS 2022 does support internal partition files, the file's compila... (by George PlusPlus)
How do i get and set the theme colors?
 
How can I apply the colors chosen in the theme by the user, so that my colors overlap with the windows colors. I was thinking of this api GetSysColor, GetThe...
[1 reply] : The WinAPI has a header file for getting and setting theme related inf... (by George PlusPlus)
type const char * not compatible with LPCWSTR
 
Hello everyone, Trying Win API 32 with creating sample Window, handle message using ressources in CPP compiler returns the message const char * type argument no...
[15 replies] Last: Since I have updated .json in v.s. code #include <sal.h> is not nece... (by TrouthieCPP)
Assigning CMYK values into a pixel
 
Hi, I'm working on a project that manipulating images pixel by pixel with C# forms. Now the turn is color space convertions. We extracted the values out of an R...
[2 replies] Last: I think implementing the conversion between the RGB and CMYK color mo... (by bydrachen)
How does CFile::Openassigns to pErros->m_cause the value CFileException::none?
 
I have analyzed an older application and tracing an error to this MFC class function. In some versions of Windows 10 and earlier version of Windows this method ...
[no replies]
How to use a library of C++ 20 modules from another solution file?
 
Hi, I have a library of C++ 20 modules which I can use from projects in the same solution but not from projects in another solution. I have instructed the l...
[3 replies] Last: that may work, but no, I mean pure windows folder management. You sho... (by jonnin)
How to set up runtime environment for developing and testing Windows apps?
 
I would like to learn how to write my own credential provider but I don't want to roll out changes on my personal computer, in case I do something dumb and lo...
[2 replies] Last: I also recommend using a Virtual Machine (VM), e.g. via Oracle Virtual... (by kigar64551)
where can I find a list of locale names to use with std::locale in the Windows 11 operating system?
 
Hi, I have looked everywhere for a list of locale names to use in Windows 11 with the std::locale type and no success. Can somebody point me to such a list?...
[6 replies] Last: If you are printing to the console/terminal on Windows, then that is e... (by Duthomhas)
by Adam87
Socket producer consumer design
 
I have a chat server that responds to requests such as messages, files uploaded from the remote host and so on. This is a TCP server. Design is 1 producer 1 ...
[3 replies] Last: Sorry for the late reply... I hoped to use a blocking notification m... (by coder777)
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)
  Archived months: [aug2024]