• 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]
by oddy
How can I run a Unix Shell script Under Windows?
 
As the title, I have the source code of GCC, and I am going to build GCC using it. However, as every...
[3 replies] Last: There's also WSL https://docs.microsoft.com/en-us/windows/wsl/install (by salem c)
MissingManifestResourceException
 
Hi, I am getting this error when I run my program. When I add more characters to my text box it cras...
[10 replies] Last: cli in this context means Common Language Infrastructure I see. As... (by kigar64551)
compiling an SFML c++ program on a Windows computer
 
I have an old Dell laptop that has Windows 10. I have tried a few times to install g++ (unsuccessfu...
[16 replies] Last: I'll say it again and then I'll "Elvis Has Left The Building". Step Z... (by George P)
by Geckoo
Random numbers
 
Hello. I have no questions today, but I need some explanation about this method so as to generate a ...
[13 replies] Last: Is seed time that critical? Its usually done very few times. If you ... (by jonnin)
by hbcpp
Avoid Clear Text Password in Source File
 
I have an application that has default passwords stored in a variable as clear text in the source fi...
[9 replies] Last: I am not using hardcoded passwords anymore, I am taking them from a f... (by kigar64551)
How to speed up compile time?
 
Hi just wondering how I can speed up compile times. It takes about a minute every time I compile to ...
[13 replies] Last: Build/Build Solution will (re)compile all those projects in the soluti... (by seeplus)
GDI: how use Translation and scale?
 
using win32 GDI, how can i use Translation and Scale API functions?
[1 reply] : for that i must use 'XFORM' structure and SetWorldTransform() functio... (by Cambalinho)
Playing an audio file results in program not responding.
 
I'm trying to make a simple audio player in C++ using the Win32 API. Everything works perfectly fine...
[5 replies] Last: The OP stated they are using the Win32 API, so MCI is appropriate inst... (by George P)
ActiveX or what?
 
Are ActiveX or ATL controls valid for new modern projects based on Visual C++ 2022 or what other typ...
[5 replies] Last: While bumping around in the VS installer in modify mode I noticed a wo... (by George P)
by tonic
RDP Protocol
 
Hello guys, I recently started to play around with different Network Protocols, im trying to build ...
[3 replies] Last: There's quite a lot of detail here: https://docs.microsoft.com/en-us/o... (by kbw)
by PacR
Windows message happen only one time.
 
#include <tchar.h> #include <windows.h> HDC hdc; /* Declare Windows procedure */ LRESUL...
[6 replies] Last: To define a custom window message, you should do something like this: ... (by kigar64551)
More <windows.h> weirdness
 
What's the trick to including <windows.h>? I have two projects. The first has the following include...
[10 replies] Last: Yes, I'm using precompiled headers. They significantly shorten my bui... (by AbstractionAnon)
Adding Picture box crashes program
 
Hi, I am having trouble adding a picturebox to my form. It shows up fine in the designer. But when...
[no replies]
by Geckoo
Debug/release
 
Hello. Using my 2d engine, I participated in an event which has been hosted on Itch.io - a cool plac...
[7 replies] Last: File size probably is not that much of an issue nowadays. An actual d... (by kigar64551)
Socket handling on internet disconnect
 
Hello guys, i need to know how i can check wheather the server, connected to by the client is sti...
[2 replies] Last: There's also the socket timeout value that you can set as the default ... (by kbw)
by Geckoo
Windows programming: where to start?
 
Hello. Do you want to code under Windows? You want a good thing :) I am happy to share with you my o...
[11 replies] Last: Done :) I understand now. (by Geckoo)
TextMetrics
 
I've never noticed this before, but when using GetTextMetrics() to get the height of the font to dis...
[3 replies] Last: Found the problem. I was redefining a font to be a little larger at s... (by dodge55)
by ruzip
GetSystemDirectoryA to String Variable
 
I'm trying to pass the result of GetSystemDirectoryA to a string variable or const char *. What's t...
[4 replies] Last: Should first determine the required buffer length, then allocate the b... (by kigar64551)
PCH errors after c++20
 
Recently, c++20 came out and I updated one of my big projects to c++20, however I am running into so...
[16 replies] Last: did you try the derp move of deleting the pch files and letting it reb... (by jonnin)
  Archived months: [jun2022]