how to create bitmap and draw text on it?
I know I can create bitmap using ID2D1DeviceContext and then how to draw Text on it? with out bind render target. I have bind the render target to my window.
EvtSubscribe not returning signal when using pull subscription , what am i doing wrong?
I used the same code given in [Microsoft documentation] (https://learn.microsoft.com/en-us/windows/win32/wes/subscribing-to-events#pull-subscriptions) to collect logs in real-time by subscribing to the event source "Application" in the event…
Visual Studio 2022 C++ MFC is not installing
I am having trouble in installing C++ MFC component on Visual Studio 2022 professional as well as community editions. It installs C++ MFC component. But if I check again, C++ MFC is unchecked in the install list checkbox. I did this several times. But…
how to combine multi-IMFSample to one?
I have three IMFSamples and how to combine them to one? there will be three computers which run my program and they will push IMFSample to me. and I want to combine them to one. in to same screen.(same texture). split a texture into 3 and copy one to…
Win32 TreeView drag item flickering
I have a basic Win32 tree control I've implemented drag/drop with. The TreeView has been set to double buffer to avoid any flicker. The drag item is drawn no problem as I drag around. However in order to get correct drawing of the underlying view as…
how to create textbox (edit text) in win32?
how to create text box? I created window using CreateWindowEx with WS_CHILD and then set TextColor and SetBKColor but when I type something to it nothing happened.
Is there a sample MAUI application to call c++ libarary
I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…
How to modify the default configuration properties of a project?
I want to set up my default project property settings. When conducting my projects, I tend to modify the property settings, such as changing the output directory and intermediate directory. But it's so annoying to change every time. How can I modify the…
LINK : fatal error LNK1318: Unexpected PDB error; 'LIMIT (12)'
This linker error is from building Unreal Engine with visual studio. LINK : fatal error LNK1318: Unexpected PDB error; 'LIMIT (12)' On packaging, I encountered this error.
SystemParametersInfoA SPI_SETDESKWALLPAPER does not always work?
I don’t know if I’m posting this in the right place… When using (C++) SystemParametersInfoA SPI_SETDESKWALLPAPER, for some reason does not always work.
How to write C programs that can use long > 260 pathnames?
Hi, I have enabled Long Paths in the Group Policy Editor, rebooted, and tested this code: LPCWSTR fileEXT; fileEXT =…
how to disable BTAGService automic register sco server after bluetooth device paired?
Hi, I am developing an bluetooth profile driver. I need resiger a sco server by BRB_SCO_REGISTER_SERVER. But i noticed that when a mobilephone paired with the laptop, the BTAGService automic register a sco server for this bluetooth devices, so i will…
How do I embed a manifest for a C project using the command line?
I have a project using VS 2022 compiler and linker within various scripts and makefiles. How do I embed a manifest with the link.exe command?
How to clear memory cached files programmatically with C++? Specifically Notepad cache?
Windows 11 Notepad is truly annoying! It keeps opening tabs with previous opened files. I don't want that! I only want to open Notepad with one empty tab. How can I avoid that? Or delete the cache memory with a C++ program? Or perhaps with a Notepad…
How to handle identified Coverity issues within Microsoft MFC libraries
Hello Our Coverity 2023.6.0 scan identify Uninitialized scalar field and Uninitialized pointer field issues using a CMap MFC class which is defined in /%ProgramFiles(x86)%/Microsoft Visual…
Determining GUI Capability on all Windows machines ?
I am trying to run a GUI application on Windows Server Core. Since only a PowerShell terminal comes over there and we can't run as some or other UI Libraries won't exist on that machine. I don't want to check via the Registry but is there something…
NVMe Sanitize call returns unexpected error 0x13D
Hi, I'm trying to send NVME Sanitize/BlockErase command to NVMe disk which supports that. This shall be available on regular Win11 OS and I'm running 10.0.22000.1098 (10.0.22000.1042 StorNvm driver). I'm receiving absurd last error after…
Using header units across projects of the same solution
Project A (a library) defines a header file that gets compiled to a header unit .ifc file. Project B wants to import said header from the referenced Project A, but cannot find it (error C7612: could not find header unit). The Project…
Best C and C++ Code Obfuscator?
Hi, Which are most advanced obfuscators for C and C++ to protect code? Thanks
How much work is involved to support Azure Web PubSub client in C++ Application?
Per the documentation, this service is built around WebSockets, which would, in theory allow applications, regardless of language, to add support via an existing WebSockets library. However, the posted Java/C#/Python examples all rely on Azure-provided…