# Error code C0000005: Access Violation

**URL:** <https://clarionhub.com/t/error-code-c0000005-access-violation/7366>\
**Category:** questions\
**Created:** [August 3, 2024, 7:04am UTC](https://clarionhub.com/t/error-code-c0000005-access-violation/7366 "2024-08-03T07:04:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tonymarshall](https://clarionhub.com/user_avatar/clarionhub.com/tonymarshall/32/3786_2.png) [@Tonymarshall](https://clarionhub.com/u/Tonymarshall)\
**Post date:** [August 3, 2024, 7:04am UTC](https://clarionhub.com/t/error-code-c0000005-access-violation/7366/1 "2024-08-03T07:04:28Z")

</div>

Hi.  
Anybody experienced this error.

 ![Error](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/4/4f3dde1c3fafaaa71fc61dc8c6b0c5058d65ffb7.png)

---

<div class="post-metadata">

**Author:** ![noyantis](https://clarionhub.com/user_avatar/clarionhub.com/noyantis/32/922_2.png) [@noyantis](https://clarionhub.com/u/noyantis)\
**Post date:** [August 3, 2024, 11:10am UTC](https://clarionhub.com/t/error-code-c0000005-access-violation/7366/2 "2024-08-03T11:10:04Z")

</div>

Hi,

Is the solution multi-dll? This could be due to dll mismatch. I would ensure the whole solution is compiled together and the correct clarion / 3rd party DLLs are present.

Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![seanh](https://clarionhub.com/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@seanh](https://clarionhub.com/u/seanh)\
**Post date:** [August 3, 2024, 11:44am UTC](https://clarionhub.com/t/error-code-c0000005-access-violation/7366/3 "2024-08-03T11:44:39Z")

</div>

It’s a ‘common’ error, it means you tried to access memory outside of what you should.  
In addition to what Andy suggested, try using the debug version of the rtl it’s in bin/debug off your clarion home directory. It gives a great deal more info that can be quite helpful in tracking the error.

---

<div class="post-metadata">

**Author:** ![donridley](https://clarionhub.com/user_avatar/clarionhub.com/donridley/32/1459_2.png) [@donridley](https://clarionhub.com/u/donridley)\
**Post date:** [August 3, 2024, 2:11pm UTC](https://clarionhub.com/t/error-code-c0000005-access-violation/7366/4 "2024-08-03T14:11:04Z")

</div>

First, read this:

[How to improve the Call Stack when your program GPFs to show Procedure Names - ide / Tips - ClarionHub](https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs-to-show-procedure-names/188)

Then use a quality third party product like Capesoft’s GPF Reporter to help identify exactly where your app GPF’ed.

[CapeSoft GPF Reporter](https://www.capesoft.com/accessories/GPFRepsp.htm)
