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…
How to debug "Invalid transaction state" error in ODBC?
Hi, ALL, I have an application that throws an aforementioned error upon exit/disconnect. I know that every transaction I start I COMMIT/ROLLBACK and those transactions are doing "CREATE TABLE/INSERT" statements. However I am also doing SELECT…
Solution build compiled without error but no .sys file created
I am currently working on a file system mini-filter driver in Windows. I've set up my development environment with the following: Development Tools: Visual Studio (latest version) Windows Driver Kit (WDK) Windows SDK Setup Details: I configured the…
Why do I have problems when trying to import a header unit?
I used VS Developer PowerShell to create a header unit file from a header file. cl /std:c++20 /exportHeader /headerName:quote HeadersBase.h Not sure if that was the right thing to do. Then I created an empty project to see if I can import the header unit…
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…
How to execute in parallel C++ tests written with the Microsoft Unit Testing Framework ?
We are writing C++ tests with the help of Microsoft Unit Testing Framework (https://learn.microsoft.com/en-us/visualstudio/test/how-to-use-microsoft-test-framework-for-cpp?view=vs-2022#run-the-tests) Tests are running fine, it works within Visual…
How to fix LNK1181 error (including libs)
Severity Code Description Project File Line Suppression State Details Error LNK1181 cannot open input file 'C:\6money\libs.obj' Dll1 C:\6money\Money\Dll1\LINK 1 Hello, I'm currently facing an issue when trying to link the lua54.lib library in my…
How to edit .rc file
Which edit IDE is recommend for .rc file https://github.com/chromiumembedded/cef ... /shared.rc Simple edits can be done by hand (it’s a text file), or use Visual Studio for more complex edits like defining dialogs, etc. See…
why GATTSetCharacteristicValue return 80070005 on windows8.1
when i use GATTSetCharacteristicValue Send data to ble device (on windows 8.1), but it return hr=80070005. it will return ok the program on windows10 or over. anybody have this problem.
How to find the Disk partition style using IOCTL?
I am trying to find the disk partition style using IOCTL. Earlier, I was using WMI, but in this particular code, I need to provide the physical drive path. What should be given as input, and how can I find or determine which physical drive path to…
GUI application Execution fails after porting an application from VS2015 to VS2022.
There is a GUI Application that is based on C++ that we are trying to update from VS2015 to VS2022. The application after the upgrade is not functioning as expected. The executable does not even open although the build is successful. In VS2015 though,…
how to get firmware type of windows?
I tried the below method, but it seems vague. if (EnablePrivilege(SE_SYSTEM_ENVIRONMENT_PRIVILEGE) != ERROR_SUCCESS) { return 0; //(unknown) } BYTE buffer[1]; DWORD result = GetFirmwareEnvironmentVariableW(SECURE_BOOT, EFI_GUID, buffer,…
Hello, I have an application made in C NOT C++ in which when painting or creating a LISTBOX control it gives the error Exception code: 0xc000041d in the CreateWindow statement in WINDOWS 11 24H2
Hello, I have an application made in C NOT C++ in which when painting or creating a LISTBOX control it gives the error Exception code: 0xc000041d in the CreateWindow statement in WINDOWS 11 24H2 Has anyone else had this happen to them and how did they…
[Beginner] Multithreading C++ Socket
In C++ (well I think in every programming language) what is better to do when dealing with multithreading socket? Cap the number of threads it can execute the requests so that you always have 1/2 thread available for accepting new connections? In this…
Connection string failure with SQL Server ODBC connection
Hi, ALL, I have weird problem as follows: In my program I use SQLDriverConnect() to connect to the SQL Server. Before this call I modify the connection string in order to use MARS. I set up DSN and if everything is good, meaning I run the program and I…
Changes in floating point calculation since Windows 24H2
Hello, Since last windows 11 update (24H2), we observe slight differences between our continuous integration (WinServer 2022 21H2) and our develpers computers regarding some of our double precision calculation. We checked iteratively versions of…
MFC Dialog APP Dialog tipe project creation Problem "error hresult-e fail has been returned from a call to a Com component"
I am Using VS 2022 Community Edition, When I create MFC Dialog base Aplication by using wizart at the end I receive "error hresult-e fail has been returned from a call to a Com component" error. VS give error and I cant see project created in…
MPI fails when mixing Intel and AMD
The following code works fine with only Intel or only AMD machines. When I launch from an Intel machine, with two worker nodes. #include <iostream> #include <mpi.h> int main() { int argc = 0; MPI_Init(&argc, nullptr); const…
SQLBindParameter/SQLExecute returns SQL_NO_DATA on second iteration
Hi, ALL, I'm trying to run the following scenario: std::wstring query = L"INSERT INTO abcattbl SELECT ?, ?, (SELECT object_id FROM sys.objects o, sys.schemas s WHERE s.schema_id = o.schema_id AND o.name = ? AND s.name = ?), '', 8, 400, 'N', 0, 0,…
MS Visual Studio C2131 - expression did not evaluate to a constant - C++
Hello. I have a simple code in MS Visual Studio with C++ that aims to enter values into a two-dimensional matrix and display the entered values on the screen. When I write exactly the same code in DevC++, it works but in MS Visual Studio, it gives…