I am trying to run Google test with the below code. I am reading some memory location for register value with code similar to the examples below. Hea ...
I am trying to run Google test with the below code. I am reading some memory location for register value with code similar to the examples below. Hea ...
I am still kinda bad in c++ so pls dont mind my bad code or my missing knowledge. The project is about chosing a file and the paste it in the console ...
I am receiving a very strange bug right now. I'm currently writing a small project in DirectX 11 and making use of ATL CComPtr's for the COM component ...
I am trying to use a class to display a progress indicator. If I declare ProgressIndicator as a variable within the calling procedure, everything wor ...
I'm making my own text editor with C++ and the SFML multi-media library. I'm now trying to implement a user interface so users can interact and select ...
When I process N bytes of data with SIMD instructions (reading at least 16 bytes at once), normally I simply add padding to the end of the buffer, so ...
I want to creat a struct instance by alocating memory on the heap, not as a variable on the stack. When I try to go to one of the members of the deref ...
I have a fairly complex WinUI 3 desktop app (v1.2, .NET 7, x64 in Debug mode) that keeps failing (after a specific sequence of events only) with a mes ...
This is the first time I am trying to use std::unique_ptr but I am getting an access violation when using std::make_unique with large size . what is ...
When using [plog][1] on Windows XP. In this case, the code is: Using Visual Studio 2019 but the project uses the platform toolset Visual Studio 201 ...
By memory protection, I mean that the following program will throw a runtime exception on many machines: The program gives the following error: ...
I'm making a C# Windows Forms program in Visual Studio which keeps crashing whenever I set the URL to a windows media player axWindowsMediaPLayer obje ...
I'm trying to cleanly inject DLL into foreground window's process, call simple function from this DLL and then cleanly unload the DLL. My injection co ...
I'm getting this read access violation error when I try to use one of my functions in my main.cpp file. Here's my SpriteSheet.cpp file: Here's my ...
I am writing a basic program that must read and write information from a text file into a structure. The function that dumps all struct information in ...
I am working on an electron app, and I'm using an the following class implementation to save and retrieve data from the user's disk. Sometimes this fu ...
I want to put random data into arr (pointer allocation). How can I put data into that dynamic allocation? Type of arr[i][j] is int. When I tried th ...
I have met a really weird behaviour using Delphi and DLL. I want to learn how to create and use DLL's. To do so, I created two files: one containing ...
Recently I became Lua expert in my team due to an issue occurring when we want to send a large table to the following function: int native_sl_shoot ...
The Application.Terminate() procedure causes an Access Violation once a dynamic array of TImage has been created. Array (variable length): arrImages ...