Category : access-violation

I’m a bit of a beginner with C++ and SFML. I’ve run into an unhandled exception which I don’t understand how to fix. If the code I’ve included isn’t enough to reveal the situation let me know. I would think it has to do with not being able to refer to m_QuantityText. This is the ..

Read more

I am trying to create a ListView using the WinApi that is filled with strings. The problem is that there is a "Access Violation Reading Location" on the line that calls the ListView_InsertColumn function. Here is the code that I am using to create the control. HWND projectsListViewHandle; projectsListViewHandle = CreateWindow(WC_LISTVIEW, L"", WS_CHILD | WS_VISIBLE ..

Read more

I try to use CreateEnclave() on windows 10 (https://docs.microsoft.com/en-us/windows/win32/api/enclaveapi/nf-enclaveapi-createenclave) I get the current process handle with GetCurrentProcess() (https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-getcurrentprocess), which give me 0xFFFFFFFF Then i allocate a memory region with VirtualAlloc() in order to have an area for the ENCLAVE_CREATE_INFO_SGX structure or ENCLAVE_CREATE_INFO_VBS structure. By the way, i don’t find the difference between both (probably don’t ..

Read more

I’m currently working on a plasma simulation and I’m running into the following error:read access violation Exception thrown at 0x00AECD33 in GroundedBox.exe: 0xC0000005: Access violation reading location 0xFDFDFEB5. Unhandled exception thrown: read access violation. **this** was 0xFF0EFFC7. The thing I don’t understand is that the line producing the error(T operator() (int i) const { return ..

Read more

I’m currently working on a plasma simulation and I’m running into the following error:read access violation Exception thrown at 0x00AECD33 in GroundedBox.exe: 0xC0000005: Access violation reading location 0xFDFDFEB5. Unhandled exception thrown: read access violation. **this** was 0xFF0EFFC7. The thing I don’t understand is that the line producing the error(T operator() (int i) const { return ..

Read more