# Can't find any documentation on FMOD\_ErrorString()

**URL:** <https://qa.fmod.com/t/cant-find-any-documentation-on-fmod-errorstring/21609>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [May 10, 2024, 3:35pm UTC](https://qa.fmod.com/t/cant-find-any-documentation-on-fmod-errorstring/21609 "2024-05-10T15:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neviovalsa](https://avatars.discourse-cdn.com/v4/letter/n/3e96dc/32.png) [@neviovalsa](https://qa.fmod.com/u/neviovalsa)\
**Post date:** [May 10, 2024, 3:35pm UTC](https://qa.fmod.com/t/cant-find-any-documentation-on-fmod-errorstring/21609/1 "2024-05-10T15:35:37Z")

</div>

Hi,  
just trying to setup fmod studio. I downloaded and linked the libraries core and studio (and bank also just to try).

Copying the code from here: [https://www.fmod.com/docs/2.02/api/white-papers-getting-started.html#fmod-studio-api-initialization](https://www.fmod.com/docs/2.02/api/white-papers-getting-started.html#fmod-studio-api-initialization)

I can’t find the type: `FMOD_ErrorString`

```cpp
FMOD_RESULT result;
    
    FMOD::Studio::System* system = NULL;

    result = FMOD::Studio::System::create(&system); // Create the Studio System object.
    if (result != FMOD_OK)
    {
        printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result));
        exit(-1);
    }

    // Initialize FMOD Studio, which will also initialize FMOD Core
    result = system->initialize(512, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, 0);
    if (result != FMOD_OK)
    {
        printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result));
        exit(-1);
    }

```

Edit: On top of that I realised that if I remove that line of code I still have issues when running the app (note that it builds fine): it instantly exits with “Process finished with exit code -1,073,741,515.”  
I’m pretty sure the culprit is `FMOD::Studio::System::create(&system)`

I can’t find any documentation anywhere, can someone help me?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 13, 2024, 12:34am UTC](https://qa.fmod.com/t/cant-find-any-documentation-on-fmod-errorstring/21609/2 "2024-05-13T00:34:34Z")

</div>

Hi,

With the FMOD Engine downloads we include examples under: `C:\Program Files (x86)\FMOD SoundSystem\FMOD Studio API Windows\api\studio\examples\vs2019\examples.sln`. In the examples, we have an `ERRCHECK()` function which outlines how to use the `FMOD_ErrorString()`. Unfortunately, there is no documentation for this function.

Hope this helps

---

<div class="post-metadata">

**Author:** ![stephen\_tool1](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@stephen\_tool1](https://qa.fmod.com/u/stephen_tool1)\
**Post date:** [January 30, 2025, 3:59pm UTC](https://qa.fmod.com/t/cant-find-any-documentation-on-fmod-errorstring/21609/3 "2025-01-30T15:59:49Z")

</div>

For anyone else searching for this:  
The function `FMOD_ErrorString()` is located in the `fmod_errors.h` header file.
