[Openal] Crashing when calling any al* function

Jcoluna 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 

java code:

System.loadLibrary("OpenAL32");

(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...
Thanks!


--- 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*
> function
> 
>   Hello there;
>   We are using openAL in our commercial game, and we
> r
> testing it in different HW configs. We pack the
> latest
> driver OpenAL32.dll inside our directory, and load
> it
> 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 =
> alcGetString(NULL,ALC_DEVICE_SPECIFIER);
> 
> 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.
> 
> Thanks!!
> 
> Jorge Adriano Luna
> 
> 
> 
>         
>
_______________________________________________________
> 
> Yahoo! Acesso Grátis - Internet rápida e grátis.
> Instale 
> o discador agora! 
> http://br.acesso.yahoo.com
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
>
http://opensource.creative.com/mailman/listinfo/openal
> 
> 
> 
> 
> 
> 
>  
>
____________________________________________________________________________________
> Sponsored Link
> 
> Free Uniden 5.8GHz Phone System with Packet8
> Internet Phone Service
> http://www.getpacket8.net/yahoo2
> 



	


	
		
_______________________________________________________ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


More information about the Openal mailing list