openAL sound init

Started by
17 comments, last by Khatharr 11 years ago

Probably a version mismatch. Look in your orignal OpenAL distro and see if you can find the dll there.

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.
Advertisement

I have tried several different dll's but no luck

now I am getting an The procedure entry point alcMakeContextCurrernt could not be located in the dynamic link library C:\Users\Phillip\Desktop\alut.dll error.

is there anyway to resolve this problem?

This kind of link problem typically occurs when the DLL that your program linked against is different from the DLL that it is trying to hook up to at run-time. At link time, the application was essentially told " this procedure will be located at this location in the DLL, so when you run look for it there." But at run-time, the loaded DLL is differently laid-out, so when the application goes to look where it was told it can't find it. This can occur from using different versions of a library, using a library built on a different version of the compiler, etc... There isn't really any kind of quick "this is what you do to fix it" solution, which is why you aren't really getting any answers here

Sometimes, you can run into a problem of DLL "shadowing", where you have 2 different versions of a DLL in your path chain, and while you might have a correct DLL in one place that you expect the program to find, another one higher up the search chain might be grabbed instead, resulting in a link error.

Go through your paths, make sure there aren't multiple versions of the DLL available. Make sure that you are linking against the correct version of your DLL. If all else fails, a clean rebuild of your library might help to resolve the issue. You can use a tool like Dependency Walker to analyze your .EXE and see what DLLs it is dependent upon, and make sure that the proper versions of those DLLs are located where the program can find them.

Sometimes, you can run into a problem of DLL "shadowing", where you have 2 different versions of a DLL in your path chain, and while you might have a correct DLL in one place that you expect the program to find, another one higher up the search chain might be grabbed instead, resulting in a link error.

how do I access the path chain using vs2012

You don't need VS2010. Just look in all the places that Windows will search for DLLs, and make sure you don't have an extra DLL somewhere that shouldn't be there. This includes the execution directory, the active directory, the windows system directory, the windows directory, and any directory listed in your PATH environment variable.

does openal work with windows 8

The documentation with your OpenAL distro should discuss that.

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

This topic is closed to new replies.

Advertisement