Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - milmurnir

Pages: [1]
1
Audio / openFromFile Read Access Violation
« on: July 04, 2023, 07:42:45 am »
I have a problem with running my app as soon as I touch the audio module it gives me this error.

Exception thrown at 0x00007FF9CEE3CB88 (sfml-audio-d-2.dll) in Mjasdgdsfasdaf.exe: 0xC0000005: Access violation reading location 0x0000000000000000.


#include <SFML/Audio/Music.hpp>

int main()
{
   sf::Music* test = nullptr;

   bool loaded = test->openFromFile( "test" );
}

This is all the code in this tiny example. I am linking to system, graphics, window, audio.

Pages: [1]
anything