3,610 questions with C++-related tags

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

Launching Windows Applications using Voice Assistants

Is there an alternative to Cortana on Windows that I can use to launch my applications using a voice command like "Open Abc App"? I have come across an application named "Voice Access," but I can't find any documentation on how to use…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
745 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,497 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,610 questions
asked 2024-04-24T06:38:51.75+00:00
Rohan Pande 375 Reputation points
edited an answer 2024-07-04T14:43:43.1966667+00:00
Caozhi Li 0 Reputation points Student Ambassador
1 answer One of the answers was accepted by the question author.

one or more re definition in c++?

struct IDXGIDevice1 *dxgiDevice (?dxgiDevice@@3PEAUIDXGIDevice1@@EA) already define in game.obj. this is my code: IDXGIDevice1* dxgiDevice = NULL; why?

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,610 questions
asked 2024-07-04T12:20:38.15+00:00
mc 4,006 Reputation points
accepted 2024-07-04T13:45:21.5166667+00:00
mc 4,006 Reputation points
0 answers

Does URLDownloadToFile still work on a Windows 11 computer without Internet Explorer on it?

I have written a windows console program that uses the win32 URLDownloadToFile function. This then ran for a long time without any problems on a windows 11 machine. However, 2 months ago this PC was reinstalled and since then the program no longer works…

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,497 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,610 questions
asked 2024-07-04T07:03:02.5766667+00:00
valentin anderegg 0 Reputation points
commented 2024-07-04T11:06:27.4566667+00:00
valentin anderegg 0 Reputation points
1 answer

how to fix build\debug\outdebug does not exist

whenever I try to debug and run my code I keep getting a build\Debug\outdebug does not exist error for c++.

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,610 questions
asked 2023-04-16T17:48:19.5133333+00:00
Nicholas 5 Reputation points
commented 2024-07-03T20:54:12.1533333+00:00
Mahmoud Albashat 0 Reputation points
0 answers

How to access registry items under driver service registry key path of Win11 24H2 in a WDF driver?

I am currently utilizing a Kernel Mode Driver Framework (KMDF) driver, employing the RtlQueryRegistryValues function with parameters (RTL_REGISTRY_ABSOLUTE, L"\Registry\Machine\System\CurrentControlSet\Services...") to access specific registry…

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,610 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,570 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
45 questions
asked 2024-05-22T01:22:02.8666667+00:00
Jingshan Song (Jingshan) 15 Reputation points
commented 2024-07-03T08:21:21.8066667+00:00
Hoàng Long Nguyễn 0 Reputation points
1 answer

How can I resolve the error "Microsoft Visual C++ 14.0 or greater is required" when installing p5 with pip?

I encountered the following error when attempting to install p5 with pip: "Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/". I have…

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,610 questions
asked 2024-06-30T09:10:29.1+00:00
Mean sereyphal 0 Reputation points
commented 2024-07-03T02:50:25.9633333+00:00
Minxin Yu 10,791 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

C++ Win32 fullscreen windows cause the taskbar, which is set to auto-hide, to not rise properly.

When a window is displayed full screen (or takes up the whole screen), the taskbar can't be raised (the user has set the auto-hide taskbar option), I don't want this window to cause this problem, is it possible to set up this window in C++ so that the…

Windows
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.
4,997 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,497 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,610 questions
asked 2024-06-28T03:28:50.63+00:00
RL Chen 230 Reputation points
accepted 2024-07-02T14:23:24.7766667+00:00
RL Chen 230 Reputation points
2 answers

How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?

I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 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,497 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,571 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,610 questions
asked 2024-06-23T21:10:17.6933333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-07-02T08:58:37.5966667+00:00
Hongrui Yu-MSFT 780 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

CryptAcquireCertificatePrivateKey fails to retrieve the private key for certificate listed under CERT_SYSTEM_STORE_LOCAL_MACHINE

I used Below program to retrieve the private key of "1-ksp-digitalid-MSKSP 27th June" certificate stored under LOCAL_MACHINE. It gives me error   0x80090016 i.e. Keyset does not exist error. On Properties you can see dialog saying that…

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,497 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,610 questions
asked 2024-06-27T12:55:24.3833333+00:00
Prafulla Shirke 20 Reputation points
accepted 2024-07-01T06:56:07.83+00:00
Prafulla Shirke 20 Reputation points
2 answers

how to fix please c++

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,610 questions
asked 2024-06-29T02:46:33.57+00:00
ADRIAN 0 Reputation points
answered 2024-07-01T02:56:26.2333333+00:00
Minxin Yu 10,791 Reputation points Microsoft Vendor
2 answers

Why does my transparent-background window turn into black screen after window ghosting?

I have a pop-up window that acts as a watermark on my application over a parent window. It has a transparent background (WS_EX_TRANSPARENT), but when the application becomes non-responsive, Windows adds a ghost window with a black background. I tried…

Windows
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.
4,997 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,497 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,610 questions
asked 2024-05-10T14:33:43.0133333+00:00
Aditya Pingle 0 Reputation points
commented 2024-06-28T18:16:02.87+00:00
RLWA32 42,466 Reputation points
3 answers One of the answers was accepted by the question author.

Get deleted item from recyclebin

Task: I need to get deleted item having SHITEMID data. SHITEMID is defined as: typedef struct _ITEMIDLIST { SHITEMID mkid; }ITEMIDLIST; defined in C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\shtypes.h I have the following code to 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,610 questions
asked 2024-06-11T13:21:13.9233333+00:00
Flaviu_ 971 Reputation points
edited a comment 2024-06-28T13:54:37.2766667+00:00
RLWA32 42,466 Reputation points
1 answer

COM Interop of WPF Custom Control - Access denied about the registry key HKEY_CLASSES_ROOT\...

Hi, I have a problem building a project. My purpose is to build a WPF Custom Control in order to use it in MFC. But the build cannot be done. The following informations are what I am through right now: Project Type: WPF Custom Control…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 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,571 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,610 questions
asked 2022-11-18T06:23:58.273+00:00
Modi 1 Reputation point
commented 2024-06-27T21:18:08.4866667+00:00
Zoran Bertalanić 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I get apps on different platforms to communicate?

I wonder if there is anyone out there who can help me with a solution to an application I want to create.  This solution will contain two separate platforms, communicating with each other via network, serial ports, or something else. The first platform…

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,571 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,610 questions
asked 2024-06-24T15:11:27.5633333+00:00
Chuck Kvasnicka 40 Reputation points
accepted 2024-06-27T17:12:29.2533333+00:00
Chuck Kvasnicka 40 Reputation points
2 answers

VS can't find the header file located at obvious position

As you can see, I placed game.h in the header file filter and hecate.cpp in the source file filter. The hecate.cpp file includes game.h, but it shows an error indicating that the game.h file is not found. How can Visual Studio make such an obvious…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 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,610 questions
asked 2024-06-27T05:58:12.2966667+00:00
凌辉 丁 0 Reputation points
answered 2024-06-27T10:44:05.1733333+00:00
RLWA32 42,466 Reputation points
1 answer One of the answers was accepted by the question author.

Need to get real OS Version

Hi need to get the real OS Version of the current machine in C++. Essentially I need something similar to "GetVersionExW", but a version of it that: Is not deprecated Does not require the application to be explicitly manifested…

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,497 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,610 questions
asked 2021-10-19T07:34:36.423+00:00
t miguel 21 Reputation points
commented 2024-06-26T17:15:09.58+00:00
RLWA32 42,466 Reputation points
1 answer One of the answers was accepted by the question author.

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,572 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,821 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,610 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 20 Reputation points
accepted 2024-06-26T16:00:19.3433333+00:00
R M 20 Reputation points
1 answer

Where to find correct version information using in C on Windows

I'm looking to programmatically find the correct version information for Windows using the "C" programming language. I've searched online with no luck. Does anyone know where I can find resources to help me achieve this goal?

Windows
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.
4,997 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,497 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,610 questions
asked 2024-06-22T22:13:39.2533333+00:00
Thad T 26 Reputation points
commented 2024-06-26T06:24:45.29+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Disabling autocompletion from anything else than Tab in VS 2022

Although I set "Default IntelliSense completion mode" to Tab-only in Text Editor/Advanced, Visual Studio keeps replacing text as I type with its first suggestion when I press e.g. space or dot. I do not want the editor to ever autocomplete…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 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,610 questions
asked 2024-06-18T09:34:12.84+00:00
Coco_l_asticot 20 Reputation points
accepted 2024-06-25T08:23:54.19+00:00
Coco_l_asticot 20 Reputation points
4 answers

How does Windows' 'Game Controllers' properties connect to a joystick?

The situation: We need to use a new game controller (with a joystick only) hardware on Windows 10 IoT. In the properties of "Game Controllers", moving the joystick is visible in the displayed rectangle with the '+'. Our software using DirectX8…

Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
383 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,610 questions
asked 2024-05-28T14:57:32.6533333+00:00
Robin Holenweger 0 Reputation points
answered 2024-06-25T08:05:48.2566667+00:00
Robin Holenweger 0 Reputation points