why some language will change when remove some code?
in some contries language like Arab the text will change its shape when remove some of them. مرحبا I just remove last one مرحب the first will change too I remove again. مرح you can see it totally changed. حبا to ح what I want to do is to create each…
Issues with GetAppLicenseAsync in MFC C++ Application.
In the application, there is an MFC project and a Windows Runtime Component (Universal Windows) project, see my previous question…
Windows 11 22H2 has a different way of using the JS engine?
Dear support, Our company has a solution built on a WebBrowser that will use the JS engine. After upgrading to Windows 11 22H2, we found that the solution behaves differently from before. We did some research, and then found that Windows 11 22H2 has…
WxWidgets App build Error Visual Studio 2019
I built a wxwidgets c ++ program with visual studio 2019, on my pc there were no problems, but when i tried to start it on another pc i got a missing libraries message. I searched the internet and was advised to change the code generation settings from…
vcruntime140_1.dll not found
I have a wix project to which i include Microsoft_VC141_CRT_x64.msm and Microsoft_VC141_MFC_x64.msm merge modules but i still get the error mfc140u.dll and vcruntime140_1.dll not found. What is the issue here?are these dlls not part of these merge…
Problems with passing Binary as a table-valued parameter
I'm using table-valued parameters to pass binary values. I used SQLBindParameter and passed the values as SQL_C_BINARY, SQL_BINARY, BinarySize, etc. as the arguments, but when I run SQLExecute, I get an error or the result is different from what I…
DXGI_ERROR_ACCESS_DENIED when trying to draw a triangle with DirectX 12
So, I'm currently working on drawing a triangle with DirectX 12 and making some helper functions for myself, but CreateCommitedResource keeps failing with DXGI_ERROR_DEVICE_REMOVED and the removal reason being DXGI_ERROR_ACCESS_DENIED. I've been…
'SysListView32' Bug with multiple items selection: still not fixed in Windows 11 23H2
When I use our own 32 bit application, the mouse cursor still jumps to a corner when I do the lasso selection in a listview (click and drag a rectangle to select multiple listview items). From what I've found in the internet, the program might use a…
Decryption failure error with crypt32.dll, CertGetSubjectCertificateFromStore API
We have an application which transfer EDI documents using AS2 protocol where when our business partner and send data to us, we can’t decrypt it. We are reading the certificate from windows certificate store using CertGetSubjectCertificateFromStore api…
C++ Visual Studio 2022 #include trouble
Good day! I've a trouble with my Visual Studio 2022. When I trying to include a file from project directory by using #include "test.h" an intellisense is displaying an all files from other includes (like winapi and C++ files) It's a not problem…
Is Microsoft plans to support "Dark Mode" in its own application
Hi, ALL, More and more people are switching to use "Dark Mode". However, it looks like native Windows applications are not supporting "Dark Mode" as they use different coloring scheme. Does MS have plans to update…
Not able to debug c++ code on visual studio 2022
I am developing android application using c# and c++. my application uses c++ library. whenever I select c++ debugger in android project properties window and i run my app in debug then I get an error which is attached as image to this question. I…
How to Access and Reconstruct HBITMAP Data from a Debugged Process?
I am developing a Visual Studio 2022 extension to extract HBITMAP objects from the memory of a debugged process for analysis. Ideally, I want to access and reconstruct (when necessary) the raw bitmap data directly, without needing to convert each…
How can I use the ID2D1DeviceContext interface in an MFC Direct2D application?
I am using Direct2D in a Visual C++ (Visual Studio 2022) MFC application that uses many of the Direct2D MFC classes. I need to use the ID2D1DeviceContext interface for various purposes. The MFC classes force you to use either ID2D1HwndRenderTarget or…
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 2019 Unable to start program, the system cannot find the file specified
I am having a similar issue as this post. However, on build I have 0 errors, 0 warning, and 0 messages. I took a look at Project -> Properties but I do not seem to have a linker option (which appears to be a typical fix that others have used to…
Win32 Console Input: How to differentiate between 0xE0 as a Start-Of-Sequence and 0xE0 as the 1st byte of a UTF-8 sequence/as a codepage character?
I use _getch() for reading input character by character, but there seems to be no way to tell whether the next character still belongs to the last read character or not. It seems that there is no way to tell if a 0xE0 is the 1st of two bytes in a…
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…
How to get policy value after set?
Hi, Is there a way to check if the state has been assigned? I tried this but the return value of v=11 DWMNCRENDERINGPOLICY v; auto k = DwmGetWindowAttribute(hwnd, DWMWA_NCRENDERING_POLICY, &v, 4); <- v return 11. BOOL v; auto k =…
How to make XAudio2 throw a Device Lost flag/error?
Hi, I was wondering how I can produce a Device Lost message for XAudio2. I tried using the dxcaps -forcetdr command in the Developer Command Prompt window for Visual Studio, but it did not work. I am using C++ and programming for Windows 10. Derek