Windows Programming - January 2021

Best ways of testing a custom allocator
 
I created a custom allocator with a couple of allocation strategies, mainly to learn from, for my st...
[2 replies] Last: Thanks for the source, I had not found the Hoard memory allocator yet ... (by wouter140)
reading registry returns empty
 
Hello, Trying to get value of a registry key returns empty. It should be the problem of my code, ...
[2 replies] Last: string2wstring Why? Just use wide strings. The first thing I notic... (by Computergeek01)
.rc file issues
 
Hi, I'm trying to follow this (http://www.winprog.org/tutorial/menus.html) tutorial, but I'm runn...
[9 replies] Last: Disabling warnings is IMO using a nuke to swat a fly. Warnings are ge... (by Furry Guy)
by Ganado
msvc zero-initialization
 
Here are two code excerpts, both compiled with x86 msvc v19.14 (1) https://godbolt.org/z/xqad3W [us...
[5 replies] Last: Using x64 msvc v19.28 with /O2, the relevant assembly is below. The on... (by dutch)
How Do I Filter File Types in IFileDialog?
 
I am trying to create "Open" and "Save" dialog boxes with the "IFileDialog" functions. I would like...
[10 replies] Last: Again, thanks for all of the help. I have found where to place the cu... (by anachronon)
by Mif
How to show in the list box, the elements in Runewords struct by select an element from the ComboBox?
 
#include <windows.h> #include <commctrl.h> #define ARRAYSIZE(sel) (sizeof(sel) / sizeof(sel )) #...
[4 replies] Last: In the end ..I got it on my own.. :) (by Mif)
by Mif
How to use one event handler for multiple radio buttons
 
Hello.. To begin I have this: . .. ... typedef struct { CHAR runes ; }Runes; Runes list = {...
[4 replies] Last: Ahh Okay I understand now.. Okay okay.. thanks freddie1 :) (by Mif)
How to Properly Align Sound Data In An Audio Buffer (e.g. 20bit to 24bit)
 
I'm just getting started on working with WASAPI. My program basically creates a custom signal (rang...
[no replies]
by Weasel
Calculating a date from a given date
 
I want to calculate a date thirty days in the future. So if i have a date like 1st January 2021, ...
[1 reply] : https://www.cplusplus.com/reference/ctime/mktime/ Like time ( &now... (by salem c)
Extracting text from sgm file.
 
I want to read from a file and extract text between two keywords and I've been trying with this ...
[14 replies] Last: If Words is indeed of type std::string, then file >> Words will obtain... (by seeplus)
by chipp
Beginning C++ for Windows Application
 
i wanna ask, what is the best environment for learning C++ for windows application? e.g. Win32 API, ...
[9 replies] Last: [quote=Winele]Go with Qt, all the other environments are doomed ;) h... (by chipp)
Dialogue OK button behaves differently on different PCs
 
Hi, This is actually to do with functionality of the LTSpice simulation software which I am assum...
[4 replies] Last: Because windows can be such a rats nest with DLLs being loaded into pr... (by salem c)
normal vs subcassed edit window
 
Hello. I am a beginner at C++11. I am trying to get to use a subclassed window or edit type of box b...
[5 replies] Last: freddie1, Thank you. I am studying what you said and referenced. The... (by BobQuarter)
Why an Undefined Identifier ?
 
Using CppCLR_Winforms App (extension by Kaiser ) on Win10 { // `Trying this code in the frmMai...
[1 reply] : frm New Account.h is obviously not frm Add Account.h. So #include "frm... (by coder777)
by Winele
Anti-cracking protection for my C++ app
 
Hello, I've been trying to protect my 32-bit music plugin (DLL) using a protection solution called P...
[10 replies] Last: Thank you :) (by Winele)
How to tell if a program is reading or writing to a file
 
Hi, I'm trying to see if a program is writing to or reading a file with vc++. I know you can tell if...
[4 replies] Last: https://stackoverflow.com/questions/2625833/monitor-disk-activity-prog... (by Furry Guy)
  Archived months: [dec2020] [feb2021]

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