3,935 questions with C++-related tags

Sort by: Updated
0 answers

IRowsetChange::InsertRow Error DBSTATUS_E_CANTCONVERTVALUE only on x64 builds

I have created a function that inserts data into a MSSQL 2022 Database Table. The function works fine when I build it using win32\release, but fails when I use x64\release. I received Error DBSTATUS_E_CANTCONVERTVALUE for the first column which is a…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-16T03:46:05.48+00:00
rvandam 0 Reputation points
0 answers

SoundWire driver sample code

Hi, All: I develop the audio SoundWire codec driver and I check Windows-driver-samples folder where I do not find the SoundWire driver sample code. Anyone knows where is available download with the SoundWire driver sample code?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-15T08:13:45.05+00:00
Star 1 Reputation point
edited the question 2025-05-16T02:57:54.5733333+00:00
Star 1 Reputation point
1 answer

some Address Sanitizer Errors are not reported in VS2022 MFC project.

We can detect some Address Sanitizer Errors using cmd mode, but if we add the same code in MFC project, these errors will not be reported. For example, if we add code “delete[];” in example1.cpp file and use cmd mode to compile and debug it, it will…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-14T07:25:09.06+00:00
Ailsa 25 Reputation points
answered 2025-05-14T23:56:10.92+00:00
RLWA32 48,746 Reputation points
2 answers One of the answers was accepted by the question author.

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++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-04T09:58:09.22+00:00
answered 2025-05-13T20:40:09.0733333+00:00
1 answer

How to develop a basic website using C++

Specifically, I would like to know: What tools or frameworks are needed to use C++ in web development? Can C++ be used to serve web pages or handle backend logic, similar to Node.js or Python Flask? Are there any simple example projects or templates…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-13T08:14:02.1233333+00:00
Beatrice Murage 0 Reputation points
answered 2025-05-13T15:41:26.96+00:00
Bruce (SqlWork.com) 75,641 Reputation points Moderator
1 answer One of the answers was accepted by the question author.

windows11+intel BT5.3 bluetooth SCO remote connect Failure

brb = (struct _BRB_SCO_OPEN_CHANNEL*) &(connection->ConnectDisconnectBrb); devCtx->ProfileDrvInterface.BthReuseBrb((PBRB)brb, BRB_SCO_OPEN_CHANNEL_RESPONSE); brb->Hdr.ClientContext[0] = connectionObject; brb->BtAddress =…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,685 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,528 questions
asked 2023-07-04T02:31:51.6633333+00:00
小钧 唐 25 Reputation points
commented 2025-05-13T09:04:47.9333333+00:00
Sibert 0 Reputation points
0 answers

How to retrieve the size and position of the initial document of the MDI interface of an MFC application?

So as for the MFC MDI application that is generated by the application wizard of Visual Studio... How and where in code should the size and position of the initial document that is open in the MainFrm when the main window of the application is opened and…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-12T22:26:33.08+00:00
Luigi Tofano 20 Reputation points
commented 2025-05-12T22:49:39.28+00:00
David Lowndes 2,615 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to solve this redundant drawing issue for window splitter?

// Win32-Desktop-Tab-Overlay-Splitter-RichEdit.cpp : Defines the entry point for the application. // #include "framework.h" #include <commctrl.h> #include <iostream> #include "resource.h" #pragma comment(lib,…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-09T23:20:43.27+00:00
Luigi Tofano 20 Reputation points
accepted 2025-05-12T22:09:55.0166667+00:00
Luigi Tofano 20 Reputation points
1 answer

Is administrator permission required when parsing ICMP messages using raw sockets?

We need to use ICMP or UDP to implement Traceroute to detect nodes on the network. Although the raw socket can be avoided during the sending UDP message stage, in the message reception stage, the raw socket must be used to parse ICMP messages. It has…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-12T02:24:54.29+00:00
Qinshun Li 0 Reputation points
answered 2025-05-12T08:21:46.1566667+00:00
RLWA32 48,746 Reputation points
1 answer One of the answers was accepted by the question author.

how to get g-code of 3d ?

Can i ask that how to get g-code of 3d for CNC? I want to this: not 3d printer

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-09T01:39:13.2766667+00:00
mc 5,326 Reputation points
accepted 2025-05-11T23:03:59.3333333+00:00
mc 5,326 Reputation points
2 answers

How to get the Native Activity App (Android)?

I wanted to create an app for android in visual studio community 2022, and all of the tutorials on youtube or internet talks about the template of native activity app or opengl-es app. Although i have installed mobile development with c++ but i cant see…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2023-02-05T04:51:09.8+00:00
Sudhanshu Kr. Suman 25 Reputation points
commented 2025-05-09T10:56:22.6466667+00:00
HJP 6 Reputation points
0 answers

how to send apdu via scardTrasmit ?

Hi MSFT Developers: I am developing an LPA application using the scard api。 I can connect to "Microsoft UICC ISO Reader 74be87c8 1" via SCardConnectA. But when I send terminal_capabilities apdu =…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-09T09:11:01.49+00:00
Jhin Dong(董涛) 0 Reputation points
0 answers

How to create a transparent overlay window for each document of an MDI for MFC?

As regards to a Multiple Document example for the Microsoft Foundation Classes generated by the Visual Studio Professional application wizard, I have made a few modifications to implement a transparent overlay window feature for each document of the MDI.…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-08T21:19:29.2666667+00:00
Cristoforo Montanari 0 Reputation points
0 answers

Is it possible for me to call raise(sig) from Rust?

I am trying to call this function: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/raise?view=msvc-170 from Rust. But it doesn't seem to be in any of the windows-rs crates. How might I do the equivalent?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-05T22:49:54.5633333+00:00
Dan Dumont 0 Reputation points
edited a comment 2025-05-08T13:40:09.5533333+00:00
Dan Dumont 0 Reputation points
0 answers

How to set COE (Continue On Error) for AddressSanitizer with VS2022 IDE?

https://learn.microsoft.com/en-us/cpp/sanitizers/asan-continue-on-error?view=msvc-170 This link introduces how to use Address Sanitizer Continue On Error to find memory safety issues. But it just introduce the method for the mode of "Developer…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-07T08:11:07.5+00:00
Ailsa 25 Reputation points
0 answers

Could you explain why the _Hash class manages buckets using both lower and upper bounds?

Hello, First of all, I’d like to kindly ask for your understanding as I’m using a translation tool to write this message. While looking into the msvc C++ _Hash class, I came across something I didn’t fully understand, so I’m reaching out with a question.…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-07T06:23:50.5233333+00:00
형진 김 20 Reputation points
1 answer One of the answers was accepted by the question author.

can not use lib

I want to use lib but there is errors:

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-04T12:53:24.2233333+00:00
mc 5,326 Reputation points
accepted 2025-05-07T05:10:51.1433333+00:00
mc 5,326 Reputation points
0 answers

Managed the users

I am working on web application and i want to take a feature like some on is already logged in and than other one is log in same id but different device than show a msg to previous one Id logged in into another device.I achived this almost but not able…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-06T11:15:44.3133333+00:00
Yash Kaushik 0 Reputation points
0 answers

Native IMAP Library for Windows - C++

Hi everyone, I'm developing a Windows desktop application in C++, and I need to implement IMAP functionality (reading and filtering emails, listing folders, etc.). I’m aware that Windows provides MAPI (Messaging API), but as far as I understand, it's…

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-05T07:00:07.1566667+00:00
Harshal Goyal 20 Reputation points
0 answers

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++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,935 questions
asked 2025-05-03T09:47:34.5366667+00:00
ZHAO dream 0 Reputation points
edited the question 2025-05-03T09:48:04.3333333+00:00
ZHAO dream 0 Reputation points