[Openal] Crashing when calling any al* function
jcoluna at yahoo.com.br
Wed Nov 8 09:06:09 PST 2006
Its not the problem...im not loading the
functions..im just telling to load the dll from my
folder, instead of the one at system32
(in my java app paths its the /libs/ directory)
The error disapears if i update the audio drivers
(im testing on a nForce), but i want to display the
error before crash the game...
--- Brian Ellis <nullroute at yahoo.com> escreveu:
> Without taking the time to test myself (hoping that
> somebody more readily equiped to do so is already
> doing so... and that an early hunch might be more
> helpful for it's promptness)... it sounds like
> calling conventions might cause this behavior. If
> you're explicitly loading the library and assigning
> fn ptrs that don't have the calling convention
> explicitly specified (broken headers _might_ be to
> blame), then crashes will happen either when the
> call is made or when the function returns.
> I apologize if this hunch is completely wrong, but I
> don't have oal on my work system... this is just a
> generic hunch. Somebody else should chime in with
> more specifics.
> - Brian
> ----- Original Message ----
> From: Jcoluna <jcoluna at yahoo.com.br>
> To: openal at opensource.creative.com
> Sent: Wednesday, November 8, 2006 11:30:58 AM
> Subject: [Openal] Crashing when calling any al*
> Hello there;
> We are using openAL in our commercial game, and we
> testing it in different HW configs. We pack the
> driver OpenAL32.dll inside our directory, and load
> explicitly (loadlib), so we have the latest OpenAL
> drivers. But the problem is: when we call
> m_device = alcOpenDevice(NULL);
> the app crashes. I tried by calling
> const char *devices =
> to check if there is any device, but it crashes in
> this line too.
> How to avoid that? I thought that only calling
> alcOpenDevice and checking "m_device" was enough to
> check if we had support or not.
> Jorge Adriano Luna
> Yahoo! Acesso Grátis - Internet rápida e grátis.
> o discador agora!
> Openal mailing list
> Openal at opensource.creative.com
> Sponsored Link
> Free Uniden 5.8GHz Phone System with Packet8
> Internet Phone Service
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
More information about the Openal