Content
How to see the messages associated with a custom control in Class Wizard for an MFC application?
I have a custom control that defines several notification messages but these are not displayed in the Class Wizard in Visual Studio 2022. See the empty listbox "Messages" in this screen capture of Class Wizard: How does the Class Wizard know…


In MFC for a custom control: how do I define notification messages so Class Wizard recognizes them?
For an MFC custom control, how does one define notification messages sent to the parent's window so that these messages appear in Class Wizard so that we can respond or handle them?
Why will using any help function in my 64-bits executable kill this executable by an exception and simply execute its duty in an exactly the same 32-bits executable?
In or just before 2020 I detected this problem, described it and asked for help. Even some people recognized it. But no solution was offered and even the future was referenced. Now I have finished developing my project there will remain this ashtonishing…


How to make cursor pointer hidden?
Hi, Is there any way I can access this feature? I want to make visible or hidden (indicator) manually in certain time period. what I can find to this is this post but using the registry doesn't seem to have an immediate effect. Thanks you.


VS C++ converting int to char (string)
Hello. I have a problem with such thing. Output is as show at the bottom of page. Can anyone know how to show text inside the edit window as number? (and how to get a number from window as text) Help pages on the internet are not readable. The output is…


Bound ComboBox within a page and frame not working as expected - WinUI 3
Hi, i have a bound ComboBox which i've already posted here. I'm adding a separator by a TemplateSelector but to disable the separator, I have to iterate the ComboBoxItems in the Tapped event and set the IsEnabled property to false. This has to be…
How to see branch-misses and cache misses in Visual Studio 2022 C++?
In linux, we have "perf" command to see branch-misses. On windows, is there a corresponding tool to see branch-misses and cache misses of a C++ program?
如何修改驱动配置文件inf 实现跟虚拟机的双机调试
我是个新人,第一次学习开发驱动,教程里配置驱动的inf文件后可以实现管道跟虚拟机进行连接从而在visual Stdio里面调试驱动代码,但是我实际测的时候,inf 文件一直是个障碍,查了很多资料,单纯删除inf文件就可以编译驱动,但是我要实现的是双机调试,,然后我按照默认的inf去进行双机调试则一直提示部署错误并显示这个破玩意 Please select a valid target machine for deployment from the project property…


CaptureEngine Error 0x80070005 (access is denied)
Hi all, I'm trying the CaptureEngine example from the classic examples but I got the error : MF_CAPTURE_ENGINE_EVENT: {219992BC-CF92-4531-A1AE-96E1E886C8F1} (hr = 0x80070005) Ausnahme ausgelöst bei 0x76B1CA42 (KernelBase.dll) in…


Windows HLK "DXGI Gamma Ramps" test crashes
Hello everyone. I have a problem running "DXGI Gamma Ramps" test with Windows HLK Studio to test my display miniport driver. When I run it, DXGIGammaVM.exe, which contains tests, crashes with Access Violation (0xc0000005). I can also see the…


Windows Portable Devices can't re-create directory after deletion
Hi, I am using the documentation provided here: [https://learn.microsoft.com/en-us/windows/win32/wpd_sdk/wpd-application-programming-interface to create an interface to portable devices (Android device and memory sticks). I have implemented the provided…


Error loading design. C++ Winform
Hi, I am not able to load the design of a form, but the program works perfectly. It gives error object reference not set to instance of an object. But it doesn't show what error, line, etc. How to see the design again? Tkd


Using JNI without having to add jvm.dll path inside Environment Variables (User or System)
In order to use JNI, you have to add inside Environment Variables (User or System) the path to were jvm.dll is located. You have a few ways to do that, but it is possible. But, is there a way to not have to add the path inside Environment Variables and…
how to change font of dialog title in mfc application
I want to change font of all the dialog elements of a MFC application including menu and title bar, without effecting icons and close button on the title bar. overriding WM_NCPAINT requires title bar to be repainted. is it posible to change only font of…


Why does malloc memory fail on Windows x64?
0 In a windows x64 c++ program, a function will malloc 400M of memory each time it enters and then release it at the end. This function will be called continuously in the program. There is almost no memory leak in the whole program, and the computer has…
Windows security popup not shows in secure desktop
I have created one webview2 based application to support multifactor-authentication(MFA). I am trying to implement this in secure desktop(new desktop). When I tried to trigger MFA sign in, after launching the application in secure desktop, windows…
Microsoft Visual C++ Redistributable for Visual Studio 2019
Do I need a license to install Microsoft Visual C++ Redistributable for Visual Studio 2019? I need this for one of the python libraries that I need for a project. My corporate IT team says they don't have license for Microsoft Visual C++…


How to remove the handle.
wv1().CoreWebView2().NavigationCompleted({this, &MainWindow::Wv1_NavigationCompleted }); how to remove &MainWindow::Wv1_NavigationCompleted handler. tags :winui3/winrt/webview2
How to fix c++ Compiler Error C2483 in managed code
And I also defined unmanaged
How can I resolve debug error?
I used visual studio to code c++. How can I fix this error? My code #include <iostream> #include <fstream> #include <string> int main() { using namespace std; string filename =…