How to get specific error code with MSXML SAX validator
When I use MSXML DOM model for validating a XML file against a schema, I get validation error "0xc00ce014" for XML structural issues. Now, we need to use MSXML SAX model for validating XML file as its very big. Using this model we always get…
C++
I have Qt6gui.dll file in my folder, but vs bias to search for the .pdb file, I don't have this file and I can't find it
I added qt's bin directory something was wrong but i can't fix ); Thanks for ur help
C++
How do I move the Windows software development kit to a D drive?
Hi friends! How do I move the Windows software development kit to a D drive?I need it
C++
how to use class variable in class ?
I want to use variable in class class Path{ public: float get_x(){ int x=0; for(int i=0;i<ARRAYSIZE(Paths);i++){ if(Paths[i].r){ return Paths[i].id; } } } } Path Paths[30]; but there will be error right? I can not use Paths in class
C++
After VS2022 version 17.12.0 update Address Sanitizer no longer works for my C++ project
I've just updated visual studio to the version in the topic and the project which worked ok 5 minutes ago with Asan on (/fsanitize=address) now throws this error when starting the debugger: The procedure entry point __sanitizer_ignore_free_hook____dll…
Visual Studio
C++
Server - Socket to receive XML messages, dialog problem
Hello, I get into the receiving routine. But pThis is NULL and UpdateReceiveEdit causes an exception. What can the solution look like and what is the…
C++
Dont Show Photo In DataGridViewImageColumn in Visual Studio C++
C++

Windows SDK 10.0.26100 causes compilation error in wchar.h with MSVC 2015 compiler
I'm trying to build a legacy product that used MSVC 2015 Update 3 (compiler version 19.00.24215.1). Since Windows SDK 10.0.26100 was installed on the machine the build fails with the following…
C++
VST Host Help!!
Hello....well...im not a coder just an enthusiast...but...im trying to make a simple VST host and i have this code but im not able to run it very well...can someone help me fix my code? Thanks!! #include "aeffect.h" #include…
C++
how to call a function called 'add' in ml64
How can I write assembler code that defines, uses and maybe exports a function called, say, add call out to a function called, say, add This is not a problem for masm32 as all functions are really called _func , ie _add But x64 calling convention…
C++
What option makes end curly brackets to be added automatically in Visual Studio?
I do not know what I did, but now the end curly bracket is not automatically added when I type de start curly bracket
C++
Why is the size of the client area for Tab Control received seem a little bit too large?
#include "framework.h" #include "Win32-Desktop-Tab-Overlay.h" #include <commctrl.h> #include <iostream> #pragma comment(lib, "comctl32.lib") #define ID_TABCTRL 100 #define MAX_LOADSTRING 100 HINSTANCE hInst; HWND…
C++
Server - Socket to receive XML messages
I'm looking for a good server in a dialog-based MFC application that will send me a request. Does anyone know a good example? The request comes from the client based on the event. The server sends the response or timeout within 20 seconds. Like…
C++
How do we troubleshoot this msbuild error MSB6003?
We have a moderately large C++ codebase that builds with VS2017 (15.9.19 - I know, we're well behind on updates to VS). We are getting intermittent build failures with this error: error MSB6003: The specified task executable "CL.exe" could not…
C++
How to use windbg to analyze the allocation size and quantity of heap memory
I want to analyze the memory allocation details of heap32. How should I operate it? I tried "!heap-s", and then "!heap-h". However, the analyzed result confuses me. It shows very little memory
C++
How to fix Win32 error 2731 on WinMain() function cannot be overloaded.
I am writing code for an x86 project in Studio 2022. The code comes from a book on game programming. Everytime I try to compile the program, I get the error message 2731 stating that the WinMain() function cannot be overloaded. My declaration is the…
C++
Build DLL while debunning
I have searched around the web but did not find any discussions relating to this; I'm aware that Visual Studio has a Hotreload feature, however, that is not what I'm referring to here. Let's say I have Project A that builds a DLL and Project B that…
C++
Create and name multiple dialogs
Windows 11, VS 2022, version 17.7.6 The goal is to create a project with multiple dialogs. I found the process to create some dialogs, but the dialogs cannot be renamed and when the dialogs are closed within the VS windows I cannot reopen it. Here is my…
C++
How to open COM port whit CreateFileA inside of a class method?
I am using winapi to create a serial connexion with an arduino, I used: HANDLE hSerial = CreateFileA("COM3", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); To open serial port and it returns a valid handle but…
C++
How to set monitor scaling to recommended or desired scaling with c++ ?
I am trying to set scaling to windows recommended scaling or to desired one (100%,150%,...) for monitor in C++. I have monitor handles (type: HMONITOR). Is that enough or do I need anything else how would I set scaling from code.