You can use this code to identify the cause of the problem and potentially the fix for it as well.
The first exception parameter (0) will tell you the type of violation, the second exception parameter (1) will tell you the address. When you see a numeric error code pop up, you can debug it by reading the exception parameters (the letter and numbers). For example, 0xC0000005 is a broad access violation error that prevents users from playing audio or accessing the control panel. In most cases, the error will be accompanied by a numeric code that is between 7-10 digits in length. When this occurs, the attempt to access the protected memory is denied, as the program you are trying to run should not have access to this particular address except for the program that is currently using it. If you have been getting this error, it means that the software you are attempting to launch or run is trying to access a protected memory address. The access violation at address error is Windows-specific and can occur on all operating system versions, including Windows 10.
What is the Access Violation at Address Error, and Why Does it Pop Up? In some cases, this error may pop up with a specific module that’s causing the problem or provide the name of the software causing the issue. When access is denied, you end up with an access violation error, which often reads “Exception_Access_Violation” with an error code or address attached.