3,540 questions with C++-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Upload files to Azure using a custom client

Hello, we are facing an issue uploading files to Azure using a custom client using azure-storage-cpplite which was developed years ago. We are currently in the process of renewing the api but for now we need a way to work around that. The current file…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,441 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,540 questions
asked 2024-04-16T05:59:11.2166667+00:00
Wansart, Christian 20 Reputation points
commented 2024-04-18T12:25:19.9133333+00:00
Wansart, Christian 20 Reputation points
3 answers

Error in Visual Studio 2022 and C++: "The Document cannot be opened. It has been renamed, deleted or removed."

I ran into this problem building a project in Visual Studio 2019. I think it also happens in the 2022 version. Regardless of the version I searched all over Google with my Google-fu skills and I haven't found any answers. I have a C++ project. Its a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,631 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,540 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,360 questions
asked 2023-04-19T13:55:11.5766667+00:00
Azureus 0 Reputation points
answered 2024-04-18T11:36:47.12+00:00
nathan 0 Reputation points
0 answers

How to cope with Microsoft's design flaw of the MFT_MESSAGE_NOTIFY_END_OF_STREAM message, when using the standard media session pipeline with multiple input MFTs ?

Hello! I dont know if this is the right place to ask the following question. But since the MSDN was shutdown by MIcrosoft a few years ago this seems to be the only place. And i will not ask it on Stackoverflow, as i would propably be the best candidate…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-14T21:58:40.37+00:00
FrancisG 0 Reputation points
edited a comment 2024-04-18T07:34:20.4433333+00:00
FrancisG 0 Reputation points
1 answer

Compatibility Issues with SQLClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I've encountered issues with Microsoft sqlclient packages after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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,540 questions
asked 2024-04-17T19:00:39.4733333+00:00
Nova, Sirene R 0 Reputation points
edited the question 2024-04-18T05:38:52.9866667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor
0 answers

Compatibility Issues with DataClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I'm reaching out for insights into an issue I've encountered after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,776 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,291 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,540 questions
asked 2024-04-17T18:21:32.6033333+00:00
Nova, Sirene R 0 Reputation points
edited the question 2024-04-17T18:23:32.6333333+00:00
Nova, Sirene R 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix LNK2019 error

I have a desktop program in C that was formerly compiled in Visual Express some years ago, and it worked fine. Then I updated to Visual Studio 2022 to do some minor changes in the source code, and now I get the error LNK2019 and LNK2020.…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,676 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,631 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,540 questions
asked 2024-04-16T21:05:50.7266667+00:00
Keitel 61 Reputation points
commented 2024-04-17T18:22:00.1266667+00:00
Keitel 61 Reputation points
2 answers One of the answers was accepted by the question author.

Create a traditional Windows Desktop application (C++)

Hello ! "I have Visual Studio 2022 and have followed the instructions for creating a traditional Windows Desktop application (C++) available on the page…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-08T17:52:01.1633333+00:00
Benny Hill 20 Reputation points
commented 2024-04-17T14:46:53.0966667+00:00
RLWA32 40,756 Reputation points
5 answers

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…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 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,549 questions
asked 2022-11-03T14:24:56.677+00:00
DawidW-5205 11 Reputation points
commented 2024-04-17T05:44:08.21+00:00
Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

C++, MFC Version 6, ComboBox - Font

Hello! I need to modify an old application. The ComboBox should get the Courier font. How can I achieve this? The developer at the time used it at runtime to create the combobox. Can anyone give me some tips? Is not easy, I know. I have googled without…

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,540 questions
asked 2024-04-09T14:08:42.1666667+00:00
Noah Aas 140 Reputation points
accepted 2024-04-16T17:44:49.6866667+00:00
Noah Aas 140 Reputation points
1 answer

When this call AddPackageByUriAsync could fail?

Hi, I am trying to create an application in the mode of 'package with external location'. Now if we go via this mode, we need to fetch the package identity during runtime, right? So, the API that has been provided is AddPackageByUriAsync . I am…

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,540 questions
asked 2024-04-16T06:13:17.4366667+00:00
Rohan Pande 315 Reputation points
edited a comment 2024-04-16T09:22:20.6033333+00:00
Harshithraj1871 1,496 Reputation points
0 answers

InternetSetOption not work on windows 10 2004

static BOOL SetSystemProxyPacUrl( wchar_t* proxy_full_addr) { INTERNET_PER_CONN_OPTION_LISTW list; BOOL bReturn; DWORD dwBufSize = sizeof(list); // Fill out list struct. list.dwSize = sizeof(list); // Set three options. …

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,676 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-15T09:13:03+00:00
myibc 11 Reputation points
commented 2024-04-16T06:35:27.95+00:00
Jeanine Zhang-MSFT 9,181 Reputation points Microsoft Vendor
2 answers

Runtime Dynamic linking a Dll for a class defined in dll

Hi, I am trying to export a class defined in dll. After following msdn example for exporting a "function" in dll, i compiled and used that code but so far i am clueless about how to export a class defined in dll. Kindly tell me how we can…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,676 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,631 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,540 questions
asked 2024-04-15T09:49:59.7233333+00:00
Vivek Soni 21 Reputation points
answered 2024-04-16T01:29:27.5533333+00:00
uncle_Kei 0 Reputation points
2 answers One of the answers was accepted by the question author.

Need help with writing progress bar dialog, with smooth marquee, on one thread

Hi - my Win32, MFC, Visual C++ application frequently has to perform operations which can take a long time. I want the user to be able to see a progress dialog with a marquee and a Cancel button while these are happening. I would like the marquee to…

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,540 questions
asked 2024-04-12T10:02:57.8+00:00
simonx 126 Reputation points
answered 2024-04-15T14:42:35.3333333+00:00
simonx 126 Reputation points
1 answer One of the answers was accepted by the question author.

Would calling RIOReceive() on a closed socket potentially cause a crash?

Hello, I would like to inquire about a crash that occurred when calling the RIOReceive() function. Please understand that the sentences may be strange because I used a translator. What happens is that thread A performs closesocket(sock) on the previously…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-15T02:06:23.07+00:00
형진 김 20 Reputation points
edited the question 2024-04-15T09:29:55.4266667+00:00
형진 김 20 Reputation points
2 answers

Porting DirectX 9 to latest version

Iam porting an existing project with DirectX 9, Is DirectX 11 or 12 should be considered for this subject Kindly advice.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-15T06:40:01.19+00:00
Balineni Rohith Sai 0 Reputation points
answered 2024-04-15T07:36:00.23+00:00
Xiaopo Yang - MSFT 11,501 Reputation points Microsoft Vendor
1 answer

Return/Enter

I have made a small windows program that saves names to a text file. Everything works with a button, but how can the names be registered if you just want to press Return/Enter after writing the names? The code is: #include <windows.h> #include…

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,540 questions
asked 2024-04-13T14:25:18.2166667+00:00
Benny Hill 20 Reputation points
edited a comment 2024-04-14T12:03:31.8466667+00:00
RLWA32 40,756 Reputation points
3 answers One of the answers was accepted by the question author.

"Unresolved external "int __cdecl invoke_main(void)" after VS2017 15.6.1 update" -- Part 2

I am porting a number of mature Win32 apps developed using VS 2015 under Windows 7 Professional to be built using VS 2019 under Windows 10 . Some edits to the original source and heading files are necessary to accommodate VS 2019 idiosyncrasies. I have…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2021-06-25T20:33:27.207+00:00
Robert Hoech 201 Reputation points
commented 2024-04-14T04:37:44.5933333+00:00
Johan 0 Reputation points
1 answer One of the answers was accepted by the question author.

Select MSVC build tools version with Visual Studio's CMake / CMakeSettings.json

Hi, I'm using Visual Studio's C++ CMake functionality, i.e. "File -> Open -> CMakeLists.txt". I'm on the latest VS 2022 17.9.5. I'd like to specify an exact MSVC build tools version to use, for example MSVC 14.29, 14.30 or 14.39…

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,540 questions
asked 2024-04-08T13:16:12.7633333+00:00
Patrik Huber 20 Reputation points
accepted 2024-04-12T16:17:49.3+00:00
Patrik Huber 20 Reputation points
3 answers One of the answers was accepted by the question author.

Why does Microsoft's code examples have errors, and how do I fix these?

The code examples on this page all seem to have errors, some of which I don't have a clue how to fix. How do I fix the following: code: hResult = StringCchLength(pmyitem->psz, STRSAFE_MAX_CCH, pcch); error: argument of type "LPSTR"is…

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,540 questions
asked 2024-04-08T08:44:10.4733333+00:00
CDev-8220 220 Reputation points
commented 2024-04-12T11:44:04.1533333+00:00
RLWA32 40,756 Reputation points
0 answers

C++ RealTimeStylus is dead and doesn't handle any touch messages

After some testing, I found that the RTS touch library on win7sp1 systems has a probability of triggering an error: RealTimeStylus does not trigger, i.e. it does not trigger the touch callback class even if there is a touch point that has been pressed on…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,427 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,540 questions
asked 2024-04-03T05:26:56.4233333+00:00
RL Chen 170 Reputation points
edited a comment 2024-04-12T07:14:59.8066667+00:00
Roy Li - MSFT 32,091 Reputation points Microsoft Vendor