[Openal] Crashing when calling any al* function
Brian Ellis
nullroute at yahoo.com
Wed Nov 8 08:55:28 PST 2006
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
More information about the Openal
mailing list