Windows Programming - December 2021

by Jezck
Overriding base class method
 
Hi, I have a query with regards to the use of the Virtual keyword for methods. If a derived class m...
[3 replies] Last: Thanks, that is what I see also. Except in the case where the paramet... (by mbozzi)
Access Violation when calling Class Function from WndProc
 
Greetings, I receive an access violation error when calling a Class Function from WM_MOVE in the Wi...
[6 replies] Last: I previously thought that the WM_MOVE could only happen after the Dis... (by seeplus)
by sarahm
win32 window doesn't resize
 
Hello. I'm having a bit of a problem with creating a win32 window: the window shows up fine, but ca...
[7 replies] Last: LoadIcon and LoadCursor have been deprecated, use LoadImage instead.... (by JohnOfC)
Delete
 
Delete
[no replies]
the managed nullptr type cannot be used here.
 
I have some code that should just call an event but I get this error: the managed nullptr type cann...
[11 replies] Last: using _Literal_zero = decltype(nullptr); is giving the error in the ... (by AnnoyingB)
by Geckoo
Sort lists
 
Hello everyone. I have a question about lists. I have an empty list A which I populate with inte...
[9 replies] Last: OP did say "list", though it might not have been deliberate. As ment... (by kigar64551)
Graphical User Interface Program
 
Maybe have a look here: http://www.cplusplus.com/forum/lounge/281241/ Of course, the optimal ch...
[2 replies] Last: Freddie, the OP has gone...this is the remnants of a dead thread. (by The Grey Wolf)
using text string functions in Win32
 
So, I have an embedded system that saves data in (unsigned char) format to an SD card. This data is...
[3 replies] Last: Thanks for the responses. It looks like MultiBytetoWideChar and vice-... (by dodge55)
Using BitBlt
 
So,it looks like BitBlt captures an image from a specific place in a window, which allows you to dup...
[19 replies] Last: at some point the invalidate rect trick may fail you, if you get into ... (by jonnin)
by volang
Shell commands from c++ without creating a new process every time?
 
Is there a way to run shell commands from c++ without creating a new process every time? E.g. have ...
[2 replies] Last: or & system("command1 & command2"); it may be possible to start a hea... (by jonnin)
by Alley
best way to configure / implement .NET web api, docker, mssql server
 
I come from an old way of doing this where we had connection strings in web.config or app.config. I'...
[1 reply] : I have no idea how to run .NET applications in a Docker container. But... (by kigar64551)
Convert string to double
 
Good day! :3 Some time ago I had an issue with converting NaNs: https://www.cplusplus.com/forum/win...
[8 replies] Last: Note that with std::from_chars(), leading white space is not ignored! (by seeplus)
Performance of memcpy() vs. "direct" memory access
 
Hello, I am working on a project where we need to compute the MD5 hash of a large block of memory (...
[8 replies] Last: That sounds right. These 'new' instructions are... really nice. (by jonnin)
Callback procedures in Child Windows
 
Do you have to have a separate callback procedure for each window you create? In other words, if I ...
[3 replies] Last: Here are some tutorials I've recently posted that would answer your qu... (by freddie1)
  Archived months: [nov2021] [jan2022]

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