I'm suffering the same problem currently.
In the following example:
int main()
{
std::cout << "gooo";
sf::SoundBuffer bf;
}
The program terminates with 0xc000007b message. Even before executing the std::cout function.
However my dll's should be on the correct directory.
I suppose it has something to do with that openal32.dll?
I built my sfml with tdm64. Can that be a problem?
Okay... i copied both openal32.dll and libsndfile-1.dll from githubs x64 bin directory and it didn't crash.
Weird that the ones that came when i built sfml didn't work.