2019-01-25 10:26:39

Hi,
So After careful considerations, I've decided to venture in to the defts of C. So far things are going on nicely with a steddy pace, however, I've hit a brick wall Which I would like to get some help with.
I am trying to use openal within my C program. So the question is, how do I use a dll in a c program? how do I compile it with mingw?

2019-01-25 12:28:17

I'm going to assume for the moment that your using the newer [OpenAL Soft], so you would load it like you would any other library:

#include <AL/al.h>
#include <AL/alc.h>

For a few guides checkout [this] and [this], with some examples [here]. While its also a little dated, there's a topic [here] that suggests linking to the OpenAL soft DLL in mingw to compile with it.

-BrushTone v1.3.3: Accessible Paint Tool
-AudiMesh3D v1.0.0: Accessible 3D Model Viewer

2019-01-25 17:22:02

Hi,
@2, Thank you. I will soon try these out. You were a grate help.