Ah thanx guys


PS looking at the code now it seems that
Code:

if (LibHandle <> 0) then

is placed to low it should be placed before:
Code:
alGetProcAddress := GetProcAddress(LibHandle, 'alGetProcAddress');

Now when calling InitOpenAl it should return true when openal is available and false when not.
I fixed it... thanx for pointing that out


I'm trying the new OpenAL header (it's al.pas + alut.pas + altypes.pas, all in one :razz: )
Can i use it just like the previous headers, except for the InitOpenAL call in the beginning?

Do i need to Release the DLL when my app finishes? :?