AMSI.DLL stack overflow exception is shown in MFC VC++ based desktop application unexpected crash
SUMMARY Our MFC VC++ based desktop application (OmniServer) is crashing unexpectedly and showing the errors related to amsi.dll, and our application crashes in the Windows event viewer logs and application crash dump logs, indicating a stack overflow…
Developer technologies | C++
How to compile C program developed with Microsoft Visual C/C++ 6.0 in Linux system
I need to compile C program developed with Microsoft Visual C/C++ 6.0 in Linux system? Thanks, Fen
Developer technologies | C++
facing problem in running code on vs code editor
when i run my first code on vs code editor , it shows error like your mingw compiller doesn't properly installed but i did everything that i know about it . there is screen shot i pasted below :- i'm in too much trouble .. please solve my this…
Developer technologies | C++
Future Support for int128 in MSVC and C++ Standard Roadmap
Hi , We currently rely on a custom implementation for 128-bit integer support in our cross-platform codebase, due to the absence of native int128/uint128 support in MSVC. Could you please confirm: Is there any plan or intent within Microsoft to support…
Developer technologies | C++
How do I get MFC into Visual Studios?
I just downloaded C++ visual studios and want to use the windows file open dialog box. I understand it can be access by way of the MS Foundation Claas library, but I cannot figure out a way to get it onto my pc. So, how do I get MFC into Visual…
Developer technologies | C++
Arduino Joy Stick program that is supposed to draw lines on a Windows GUI app screen is not working
Hi Microsoft team I have a Arduino connected Joy Stick that Writes X and Y cordinate data to the Serial Monitor on Joy Stick Move , but when I read that data from a Windows GUI app in order to get it to draw on the windows GUI APP nothing happens …
Developer technologies | C++
[[likely]] attribute not working with MSVC
C++20 has introduced the [[likely]] attribute, I wanted to see the difference is the assembly and wrote a simple code: int If (bool pFlag) { if (pFlag) return 3214; else return 19862; } int IfLikely (bool pFlag) { if (pFlag)…
Developer technologies | C++
ACEOLEDB.DLL from Microsoft 365 Apps crash with Exception code 0xc0000005
ACEOLEDB.DLL from Microsoft 365 Apps (at least versions 16.0.14228.20248, 16.0.14430.20006, 16.0.14701.20040 in "C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\OFFICE16\") appear to cause an application crash…
Microsoft 365 and Office | Access | Development
Developer technologies | C++
Getting error on this
#include <windows.h> #include <combaseapi.h> // For COM functions #include <string> // Forward declaration LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance,…
Developer technologies | C++
Program crash when creating MagnificationAPI window in Windows 11
While executing the following statement, programs on the target computer crash without warning and without a runtime error pop-up box. hwndMag = CreateWindow(WC_MAGNIFIER, TEXT("IdtScreenMagnifierMag"), WS_CHILD | MS_CLIPAROUNDCURSOR |…
Windows development | Windows API - Win32
Developer technologies | C++
windows credential provider using PKINIT and implicit mapping
I am developing a windows credential provider aiming at supporting CPUS_LOGON/CPUS_UNLOCK_WORKSTATION using certificate PKINIT and implicit mapping. The certificate used for login is a short-term certificate stored in LocalMachine/My CNG store. My…
Developer technologies | C++
debug C++ project with cuda kernel using Nsight
Trying to configure VS 2022 community to integrate with Nvidia tools including NSight debug and compiling .cu source files. This is new install of VS 2022C and then new install of Nvidia GPU tools version v12.6. when i enter VS 2022 no signs of GPU…
Developer technologies | C++
MSVCRT40.DLL missing when installing software
Hello all, I'm trying to install a software that keeps giving me the message that "The file C:\Windows\System32\MSVCRT40.DLL could not be opened." Searching the web I got the information that this DLL is part of the Visual C++ packages. Which…
Developer technologies | C++
Crashed in IConnectionPoint::Advise
When i use this api named IConnectionPoint::Advise in my app main thread, the app crashed, only once, can not reproduced, why and how to fix it? here is the stack: # Child-SP RetAddr : Args to Child …
Developer technologies | C++
blocked in IConnectionPoint::Advise
When I use this api named IConnectionPoint::Advise in my app main thread, the whole app frozen, only happened once. Why and how to fix it? here is the stack: 00 00000082`9673a5f8 00007ffd`a32b61c4 : 00000456`975ae87d 00000082`9673ab60…
Developer technologies | C++
Stable IFC generation
Currently MSVC generates different IFC file whenever I change *.ixx. It doesn't matter, do I touch the interface or implementation. Even if I add a whitespace in private fragment of the module, MSVC will generate different IFC file which trigger…
Developer technologies | C++
How much memory allocate when reading save blob with XGameSaveReadBlobData
I'm implementing game save logic and need to write a function that reads data from a single XGameSaveBlob. The documentation for XGameSaveReadBlobData explains how to use it, but it feels incomplete and even partially incorrect. For example, there’s no…
Developer technologies | C++
使用clion编写.c程序时,若.c文件使用utf-8保存,用printf打印中文会出现乱码
在我使用clion编写.c程序时,若.c文件使用utf-8保存,用printf打印中文会出现乱码(无论是在clion的控制台中还是在windows命令行中都是这样),对输出的乱码进行分析得知这是由于程序输出的utf-8编码的信息被控制台用gbk编码解码导致的。 是否是因为windows控制台默认使用gbk编码格式解码导致的? 我尝试过把.c文件改为用gbk格式编码,确实在我的电脑上不出现乱码了,但是可以预见这样生成的程序在其他国家和地区的电脑上会因为他们的windows系统没有使用gbk编码导致在他们…
Developer technologies | C++
DevicePicker fails to display at the correct coordinates when DPI != 96
I've been struggling with this issue for several days and haven't found a solution despite consulting numerous documentation sources. I'm attempting to invoke DevicePicker.show() to display the DevicePicker at my mouse cursor position. When Windows…
Developer technologies | C++
Windows Desktop screen capture and transmission over UDP is failing
Hi Microsoft team I am trying to capture my desktop screen and transmit it over UDP to VLC media player running on a Raspberry PI, on the network but the UDP stream is not displaying anything // Source - https://stackoverflow.com/a // Posted by Chuque,…