Error code "exited with code -1073741819"
I copied my C code from one window and paste it to another window of VS2019, then i debugged the program and i got the message "Test.exe exited with code -1073741819". I am unable to run the program so please help me out.
Disable hotkey "ctrl + alt + tab"
I tried to disable the hotkey "ctrl + alt + tab" with a LL keyboard hook,but looks like this key combination cannot be intercepted by LL keyboard hook. Is there any way I can disable it with registry ?
C4828 is now being flagged as an error with the latest update of VS2022 17.8.7 and i don't see it mentioned anywhere
Hello, I am noting that since I updated my Visual Studio 2022 to 17.8.7 that a project that had C4828 warning is now showing C4828 as an error, yet I haven't changed anything in terms of MSBuild settings. I searched the docs to see if I am having a local…
compositor clock api question
Waiting on the compositor clock is done by a call to DCompositionWaitForCompositorClock(), which looks like it is probably a wrapper around something like WaitForMultipleObjects() and some compositor event object(s). Wouldn't it have been better to…
How can my module handle files
I wrote a Module that works great. If the URL points to an actual file in the application folder, I would like the StaticFile module to stream it back to the browser. Otherwise I would have to build the file name from the URL and if it exists, read it…
Using an application manifest to disable window theming
According to application-manifests the disableTheming element is available. I added the necessary xml to my application manifest for a Win32 desktop application but it seems that disableTheming is ignored by the system. The xml that was added to the…
WebauthN c++ Native Windows API in credential provider
Hi team, I've made a simple console application that calls Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() which will display CredentialUIBroker.exe to authenticate with an external FIDO2 security key and platform Windows authenticator…
How to convert string contains characters like space?
Hi, I'm using the following code: DWORD hex_len = 1024; string value="abc def"; BYTE* buffer = new BYTE[hex_len]; if…
System.IO.FileNotFoundException: Could not load file or assembly 'AppAssembly.dll' or one of its dependencies.
I complied a C++ CLI service using Release and x64. I then went into the x64\Release folder and copied everything over to the development server and tried to run the service only for it to tell me that the AppAssemly.dll is missing even though it is…
std::thread in MFC
It is ok to finish a MFC app while a std::thread is still working? Code: void CMyMfcView::OnLButtonDblClk(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default std::thread t(&CMyMfcDoc::SomeMethod,…
Native C++ Module Example not working as advertised
I created a module based on this example. It is supposed to add an entry in the Event Log when the OnExecuteRequestHandler and OnPostExecuteRequestHandler events occur on a…
How do i enable Visual styles
How Do I enable Visual styles when using MSYS2 MinGW-w64, in the simplest way, like how Qt Does it, I am strugglinng trying to enable visual styles in mingw-w64, i just cant find a way
Can we use UWP APIs for WinUI3 desktop Applications?
Hi, I am building a WinUI3 desktop application where I am looking for notifications. I have tried out the App Notifications which are part of Windows App SDK but I am currently looking into Badge Notifications. So, I found this Badge Notification…
How to build a simple HelloWorld C++ console application and execute it on an Azure node?
Hi I would like to build a simple HelloWorld C++ console application in Visual Studio and execute it on an Azure node. Project Setup: I built the project in Visual Studio following the instructions provided in this documentation. I specifically aimed…
visual studio C++ starting with 478 errors in "external dependencies"
when i create a new C++ project, it starts with 479 errors in "external dependencies" when i run it, it askes if i would like to run the last successful build, if i select yes it errors with "unable to start program 'C:\users(my…
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Hello, I'm trying install library web3. Unfortunatly the code ended with this error every time. error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":…
auto return type of a C++ function
My last knowledge of C++ is from 1997. I am now trying to understand 'modern' C++. I have created a new C++/WinRT project in VS 2022 and inserted the following code (If you see SQL or Yaml code, I didn't mark code as SQL or YAML): pch.h: #pragma once…
How can I get a list of all request headers in an IIS Module?
I'm writing an IIS Module in C++. My 'final' issue is how to get all headers (standard and custom) in a single string. The httpPlatformHandler module sends all headers & posted data to the configured exe so I would hope I could do it in mine. My…
How to extract an icon from executable and save it on disk properly? Any lightweight library?
Is there something in c++? (Windows API/ WinRT) I've tried some solutions online and none of them work. I didn't find anything useful on Github either. I want to display the icons regardless of whether the exe is still there, so I want to save the icon;…
Reading frames of a IMFSourceReader of a mp4 leaks memory
I'm processing all the frames of a large video in mp4 format (say 2Gb in 1280x576) . As I read the frames of the video, the memory consumed by the application keeps growing and growing, reaching 2Gb by the end of the video. Here is a minimal application…