Windows Programming - March 2022

Window services application deployments
 
Good day administrator Please I'm learning how to register and deploy application in window service by writing c++ code. I'm currently trying to deploy dn...
[2 replies] Last: srvany can be used to run a .exe program as a service (by seeplus)
arrays,lists & map. mapping values to RGV values
 
"The code below stores a range of RGB values as arrays which is then stored in a list. I want to then assign each specific array a temp value by using the std:...
[9 replies] Last: The WinAPI has the COLORREF struct and several macro functions for dea... (by George P)
by oddy
How can I install gdb using mingw-get?
 
I faced a problem: I cannot install gdb with command mingw-get install gdb. I googled for it in these words: C:\MinGW/bin/gdb.exe cannot install gdb with ming...
[2 replies] Last: mingw-get is from the old depreacted/discontinued "mingw.org" projec... (by kigar64551)
how to find out if a window is running modal
 
Hi, There must be a way to detect whether a dialog box is running modal or not! I can't find anywhere... Regards, Juan P.S.: I have an idea: when a dialog i...
[1 reply] : Search internet, yada, yada, yada..... https://duckduckgo.com/?q=how+... (by George P)
how to create a modeless CDialog in MFC?
 
Hi, I have been away from MFC for a while... I need to create a modeless CDialog subclass and I tried: GenericGrid dlg; dlg.Create(IDD_GenericGrid); ...
[1 reply] : Simply amazing what one can find scraping the bowels of the interwebz.... (by George P)
BGI problems
 
I have many programs written over many years using Borland graphics. I have been working with different structures and patterns for weaving. Some of these p...
[16 replies] Last: you can use devC editor and VC compiler if you really hate the VS edit... (by jonnin)
by oddy
How can I install a specific version of GCC on Windows?
 
I searched on Google and Bing for GCC version 9.3.0 for Windows, but they only give me GCC 9.2.0 instead. However, for Linux the version is so complete that ...
[4 replies] Last: I am attending an OI(Olympiad in Informatics), they compile source fi... (by George P)
Memory leak observed (regfree() not freeing total allocated memory) while using <regex.h>
 
Hi, I am using <regex.h> in my code and observing memory leak. After some debugging, I found out that regfree is not able to free all the memory allocated to. ...
[2 replies] Last: It is always possible that you are doing something wrong in your code ... (by kigar64551)
Bluetooth connection error with winsock2.h
 
Hello! I am completely new to socket programming or any kind of API for that. I want to learn to connect to a bluetooth device. I have allergy of C# style codes...
[2 replies] Last: @George P, Thanks for the response. The code compiles with c++17. It c... (by Rakib771)
Testing program deployment
 
So I've created a small windows utility that has a few external dependencies. Some I know for sure, but there may be some I've missed. Now on Linux, this wo...
[4 replies] Last: Process Monitor is a good tool, another similar one is Process Explore... (by George P)
Why is the code breaking?
 
I am trying to combine my code and my group partner's code to turn in, but when I type anything that's not a integer it breaks. I think this code is what breaks...
[1 reply] : cin.ignore() will wait for input if there's nothing to ignore. Also th... (by seeplus)
  Archived months: [feb2022] [apr2022]

This is an archived page. To post a new message, go to the current page.