• 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]
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)
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 PlusPlus)
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 PlusPlus)
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 PlusPlus)
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 PlusPlus)
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)
  Archived months: [may2024]