# UE 4/5 Crashes, Hello World in Third Party Library integration, EXCEPTION\_ACCESS\_VIOLATION

**URL:** <https://forums.unrealengine.com/t/ue-4-5-crashes-hello-world-in-third-party-library-integration-exception-access-violation/581545>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 14, 2022, 10:12am UTC](https://forums.unrealengine.com/t/ue-4-5-crashes-hello-world-in-third-party-library-integration-exception-access-violation/581545 "2022-06-14T10:12:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![snook91](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/snook91/32/556060_2.png) [@snook91](https://forums.unrealengine.com/u/snook91)\
**Post date:** [June 20, 2022, 3:09pm UTC](https://forums.unrealengine.com/t/ue-4-5-crashes-hello-world-in-third-party-library-integration-exception-access-violation/581545/6 "2022-06-20T15:09:59Z")

</div>

I’ve found the solution.

It’s due to a non standard stl c++ library implementation ( [Why doesn’t UE utilize STL containers? - Programming & Scripting / C++ - Unreal Engine Forums](https://forums.unrealengine.com/t/why-doesnt-ue-utilize-stl-containers/34551)).  
So, I must not use std::string in my DLL interface (ExampleLibrary.h) and must replace it by:

```auto
EXAMPLELIBRARY_IMPORT char * SayHelloFromLib();

```

---

_[View the full topic](https://forums.unrealengine.com/t/ue-4-5-crashes-hello-world-in-third-party-library-integration-exception-access-violation/581545)._
