[Openal] how to dynamically load openAL (win32) ??

Andre Krause post at andre-krause.net
Sat Nov 18 10:59:40 PST 2006


Hello everybody, here comes a beginners question.

i want, for my game, do the following:

check if openAL dll is already installed;
if yes,
	load that dll
else
	extract the dll from my game's archive
	load that dll


of to do that? i know there is LoadLibrary("mydll.dll");
but what got me confused is that it seems i would, if i load
dynamically, need to call GetProcAddress for all these openAL functions
i want to use...
can't i somehow just use the openAL headers ??

any code snipped / hint appreciated!

	kind regards, andre


More information about the Openal mailing list