Windows Programming - May 2020

Wrong Virtual Function Called
 
I am having an issue with the wrong virtual function being called by C++. I did a clean and rebuild,...
[8 replies] Last: Please don't put into too much effort into this now. I have be forced ... (by Manannan)
by Weasel
NMHDR structure
 
Hello, When my main window receives a WM_NOTIFY message I try to extract the id of the control t...
[no replies]
by volang
IOCP Threadpool
 
From microsoft: "When a process creates an I/O completion port, the system creates an associated qu...
[no replies]
libdrizzle dll VC++ 2017
 
I am trying to build libdrizle as a dll in VC++ 2017 for another project and it is throwing errors r...
[4 replies] Last: nice, I would not even remotely try to think of Microsoft integrating ... (by malibor)
by Zero3K
Issue with an audio driver
 
I am having an issue regarding an audio driver that is written in C++. The issue is that its not pla...
[5 replies] Last: "if you want to focus efforts with your partner, first fix it on windo... (by Zero3K)
Displaying Error Text from Enumeration
 
In my program, I am loading an image from a file, using the GDI+ function, Image::FromFile(). I the...
[17 replies] Last: Actually, the program works quite well, if I supply a valid file name.... (by anachronon)
Dealing with non ascii characters in the console
 
I've spent the last three days searching about printing accented, box drawing, or whatever character...
[8 replies] Last: CP_UTF8 won't work for all possible characters, there are other code... (by malibor)
Writing to file
 
ghjnmghjmfhj
[4 replies] Last: You still need to work on your indentation. Calling variables file1, ... (by salem c)
WIN32 D2D TextLayout and Update Text
 
Hello, my program uses TextLayout to draw text. My problem is TextLayout can not be changed but in m...
[5 replies] Last: Yes but If I am not wrong I will not have opportunity to wrap text to... (by malibor)
Creating Windows Scrollbars
 
Perhaps, I should rephrase my question, as my last attempt went off on a tangent. What is the best,...
[5 replies] Last: Thanks Furry Guy and Malibor. I have found a PDF version of Petzold's... (by anachronon)
My "loop through memory" is slow.
 
Hello, I just want to loop through memory, and If value spotted then replace it with other value. My...
[7 replies] Last: if you want to keep the printed data but get it quickly, redirect it. ... (by jonnin)
Creating Custom Scrollbars
 
It seems that I have encountered another quagmire. I wish to create custom scrollbars. I have alre...
[7 replies] Last: [quote=malibor]as I read the docs this sounds like just another MS att... (by closed account z05DSL3A)
File handling
 
Hey guys am new to c++...so am trying to write a program in c++ that will read from two files...i ne...
[5 replies] Last: While waiting any response i took time to try this............. #... (by Magplusplus)
by MarkP
recv() returns 0 without connection being closed
 
I've written a program consisting of a server and a client that has been online for almost 20 years,...
[11 replies] Last: that's near identical to non blocking sockets No it isn't. You can d... (by kbw)
by poop13
Issue on creating window with concanated string
 
#include <windows.h> #include <iostream> #include <string> #include <cstdlib> #include <fstream> /...
[3 replies] Last: Passing std::string to CreateWindowEx? Don't you get a compiler error... (by kbw)
Let child process messages that would be otherwise sent to parent?
 
Most child controls send messages to parent such as WM_DRAWITEM or WM_COMMAND . Is there a stand...
[19 replies] Last: was there a specific thing you wanted a control to be able to do that... (by malibor)
Global Graphics Objects? (1,2)
 
Well, not exactly "global". I am looking for a way to create a graphics object that is accessible t...
[21 replies] Last: Thanks Malibor. I'll be looking into that, as soon as I get done with... (by anachronon)
by Zero3K
Compilation errors are occurring when compiling a driver
 
Can someone help me fix them? The errors are in the paste located at https://paste.ee/p/husrG . They...
[3 replies] Last: Will anyone try to fix them soon? (by Zero3K)
std::async / CPU-usage question
 
Hello everyone, i never used any multithreading before this week, so i'm not reaaly common with it...
[5 replies] Last: Hello salem c, sorry for the delay.... I must say it was quite ambi... (by artganseforth)
Visual C++ 2010
 
Hi Guys! I had to reformat my computer recently and I did a fresh install of Visual C++ 2010 on m...
[5 replies] Last: Well people always complained on new OS's when it come out, but in the... (by malibor)
May 2020 Pages: 12
  Archived months: [apr2020] [jun2020]

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