3,971 questions with Developer technologies | C++ tags

Sort by: Updated
0 answers

How do I fix this error?

argument list for class template "CUIAnimationCallbackBase" is missing template <class IUIAnimationCallback, class CUIAnimationCallbackDerived> class CUIAnimationCallbackBase : public IUIAnimationCallback { public: static…

Developer technologies C++
asked 2025-06-28T20:08:39.41+00:00
CDev-8220 365 Reputation points
edited the question 2025-06-28T20:09:35.8266667+00:00
CDev-8220 365 Reputation points
5 answers One of the answers was accepted by the question author.

Error trying to call a C# DLL from a C++ console app

I am on Windows 10 with VS 2022. I want to call a C# DLL from a C++ app. I am trying to register the C# DLL using regasm. I am getting the following error: C:\Users\dbaec\OneDrive\Forex\C++_App\C#_DLL\obj\x64\Debug\net6.0-windows7.0>regasm.exe…

Developer technologies C++
asked 2025-06-16T17:00:35.6566667+00:00
DonBaechtel-7903 191 Reputation points
accepted 2025-06-26T10:58:23.48+00:00
DonBaechtel-7903 191 Reputation points
2 answers

Cannot Save File message keeps popping up in Visual Studio 2022

While making changes to an MFC dialog using the resource editor, and then not making changes for a short while, Visual Studio 2022 keeps popping up a 'Cannot save file' message... It's as though it is trying to write away a temporary file somewhere, but…

Developer technologies C++
asked 2025-06-25T07:22:19.02+00:00
Trevor 0 Reputation points
answered 2025-06-25T10:18:16.66+00:00
David Lowndes 2,640 Reputation points MVP
3 answers

CMake build error at protobuf on C++ project with opencv

When building x86 of the project with opencv, I got an error as blew。 No problem buiding x64。 main] Configuring project: MyProject [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE"…

Developer technologies C++
asked 2025-06-24T12:16:58.39+00:00
Woods Sea 10 Reputation points
answered 2025-06-25T08:38:50.1233333+00:00
Woods Sea 10 Reputation points
1 answer

Ask your question in the language of the Q&A site

To get the most out of Microsoft Q&A, please make sure to submit your questions in the language of the Q&A site you are on. This will ensure that our community of experts can provide accurate and helpful answers to your question.

Developer technologies C++
asked 2025-06-23T12:43:22.0566667+00:00
tpetchel 0 Reputation points Microsoft Employee Admin
commented 2025-06-24T23:35:09.5366667+00:00
Sarah Fassett 0 Reputation points
2 answers

LNK2005 error on C++ app when implementing a replacement new and delete

In Visual Studio 2019 C++14 I can build a "hello world" program with a custom new and delete. I'm unable to link a larger program which implements a custom new and delete replacement. The error is LNK2005 "void * __cdecl operator…

Developer technologies C++
asked 2025-05-30T15:51:20.56+00:00
Mike Nice 0 Reputation points
accepted 2025-06-24T23:12:30.2133333+00:00
Mike Nice 0 Reputation points
2 answers

Replacing Deprecated Extended Stored Procedures with CLR-Based C# Wrappers

Hi Team, Currently, we bind a C++ DLL to SQL Server using an extended stored procedure. Since extended stored procedures are deprecated, is it possible to create a C# wrapper for the C++ DLL and register this C# wrapper as a CLR stored procedure in SQL…

Developer technologies C++
asked 2025-06-18T06:11:27.36+00:00
Abhishek Modi (amodi) 0 Reputation points
commented 2025-06-23T05:37:39.11+00:00
Abhishek Modi (amodi) 0 Reputation points
1 answer One of the answers was accepted by the question author.

CPU and disk usage values which we get from windows API (Using PDH) is not same as the value we see in task manager

I am currently using the PDH (Performance Data Helper) API to log CPU and Disk utilization data in a CSV file. Below is a snippet of the code I am using: #include <windows.h> #include <pdh.h> #include <stdio.h> #include…

Windows development Windows API - Win32
Windows for business Windows Client for IT Pros Devices and deployment Other
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
asked 2024-12-05T15:51:07.8166667+00:00
Chandan M S 20 Reputation points
accepted 2025-06-20T17:58:37.22+00:00
Chandan M S 20 Reputation points
1 answer

how to use lock in thread?

I have thread1 and thread3 and both of it will edit the std::queue how to use lock to it? both of the thread will edit the std::queue in loop.

Developer technologies C++
asked 2025-06-19T04:31:10.6666667+00:00
mc 5,426 Reputation points
answered 2025-06-19T13:00:35.32+00:00
Darran Rowe 1,986 Reputation points
0 answers

get bound from winrt::Windows::Graphics::Capture::GraphicsCaptureItem

0 is it possible to retrieve bound rect (x,y, height, width) from winrt::Windows::Graphics::Capture::GraphicsCaptureItem, I see only Size is supported. Any specific reason its hidden?…

Developer technologies C++
asked 2025-06-18T06:23:09.79+00:00
Zunna Berry 0 Reputation points
commented 2025-06-18T19:09:01+00:00
Darran Rowe 1,986 Reputation points
0 answers

getting blocker call for listen() in winRT component using httplib.h

Hi, I am using WinRT componet project. I have included httplib.h file I am creating object for server and calling the Get() I am calling listen() method but Its like a bloker call in winRT app. I have also tyied with thread but no luch. Kindly provide…

Developer technologies C++
asked 2025-06-18T15:51:24.8566667+00:00
Arvind Kumar 20 Reputation points
1 answer

How to troubleshoot and resolve the "win32kfull.sys" error:

The text on the screen is a prompt for users to provide detailed information about a problem they are experiencing, likely within a community forum or support platform. This question is related to the following Learning Module

Developer technologies C++
asked 2025-06-17T15:03:32.5066667+00:00
uma p 5 Reputation points
answered 2025-06-17T15:06:47.3566667+00:00
uma p 5 Reputation points
0 answers

Bitlocker using win 32 api

I have created a function inside my agent to apply bitlocker on a drive using win api, even though the execution is completed successfully the drives are not getting locked using bitlocker

Developer technologies C++
asked 2025-06-17T09:35:03.1833333+00:00
Amal Krishna Jk 25 Reputation points
edited the question 2025-06-17T09:35:54.7633333+00:00
Amal Krishna Jk 25 Reputation points
1 answer One of the answers was accepted by the question author.

Afterimage appears in client when dragging a corner of the window.

I coded a program trying to generate a maze in the client. When I dragged the left-top corner of the window,it happens like this: It is a Win32 Window APP and here's the code(part): void Maze(); LRESULT WndProc( HWND hWnd, UINT uMsg, WPARAM…

Developer technologies C++
asked 2025-06-15T13:15:02.6766667+00:00
StreamingMoon 40 Reputation points
commented 2025-06-15T13:55:41.28+00:00
RLWA32 49,536 Reputation points
2 answers One of the answers was accepted by the question author.

I need to understand if and how the win32 API SetDIBitsToDevice() allocates extra memory buffers during its process

Hi, I could not find an appropriate tag for my problem so I selected the one I felt was most likely to give me relevant response. I am currently working with an application in which it is extremely important that no copies of any data is retained in…

Developer technologies C++
asked 2025-06-12T10:27:17.5233333+00:00
Anders Kofoed 20 Reputation points
commented 2025-06-13T09:44:10.7933333+00:00
Anders Kofoed 20 Reputation points
0 answers

Confirm For ECCN For Visual C++ Redistributable / Microsoft Visual Studio Redistributables / VC++ Runtime Dlls

Hello, here I want to confirm the accurate ECCN info of below Microsoft Software Products: Visual C++ Redistributable for Visual Studio 2010 SP1 Visual C++ Redistributable for Visual Studio 2012 Update 4 Visual C++ Redistributable for Visual…

Developer technologies C++
asked 2025-06-13T07:49:35.55+00:00
Yang, Yi (RC-CN DI FA R&D SW) 20 Reputation points
1 answer One of the answers was accepted by the question author.

Are there files missing from Windows SDK 10.0.26100.0 and how can I update them?

I'm trying to use the XAML Islands, but there are header files that I get the error E1696: cannot open source file. I tried the solution Compile your newly created project at least once. Then right-click in the source code editor > Rescan > Rescan…

Developer technologies C++
asked 2025-06-10T16:43:17.0633333+00:00
CDev-8220 365 Reputation points
accepted 2025-06-11T16:15:36.91+00:00
CDev-8220 365 Reputation points
0 answers

Not getting purchase information of subscription

I'm using the windows_iap package for implementing in-app purchases in my Windows Flutter app. However, whenever I run the app or create an MSIX package and check for purchases, I consistently receive empty results or messages indicating that no purchase…

Developer technologies C++
asked 2025-06-10T14:11:46.0766667+00:00
Dev 0 Reputation points
edited the question 2025-06-11T05:56:59.4933333+00:00
Dev 0 Reputation points
2 answers

Can a console created via AllocConsole() be preserved after abrupt termination of a WinMain-based GUI process?

A console created dynamically using AllocConsole() for a winmain entry point application vanishes if the parent GUI process terminates abruptly (e.g., via an unhandled exception or forced termination). This raises concern that stderr logs printed to the…

Developer technologies C++
asked 2025-06-05T13:11:00.1333333+00:00
Varun Dixit 20 Reputation points
commented 2025-06-10T13:37:07.3833333+00:00
RLWA32 49,536 Reputation points
0 answers

OpenEventLog returns RPC_S_SERVER_UNAVAILABLE on Windows 24H2

We have a tool that parse data from the eventlog. However this has stopped working to access remote servers when run Windows 24H2 machines, with either of the following errors: RPC_S_SERVER_UNAVAILABLE RPC_X_BAD_STUB_DATA The following application…

Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
asked 2024-11-13T12:07:58.58+00:00
Ljungberg, Ted 10 Reputation points
commented 2025-06-10T09:03:44.9166667+00:00
Ljungberg, Ted 10 Reputation points