Re: I need help, again!

Alright, we have another issue on our hands here:
Here's my code. Note: A seperate test.py file is being used to run this.

import sys
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
os.chdir(dir_path)
import lib_openal as al
import lib_alc as alc
print("Done")

Here's the error I get upon running the script.

Traceback (most recent call last):                                              
File "C:\Users\amerikranian\Desktop\python\test.py", line 6, in <module>       
import lib_alc as alc                                                       
File "C:\Users\amerikranian\Desktop\python\lib_alc.py", line 156, in <module>  
alcGetStringiSOFT = _lib.alcGetStringiSOFT                                  
File "C:\python3\lib\ctypes\__init__.py", line 369, in __getattr__            
func = self.__getitem__(name)                                               
File "C:\python3\lib\ctypes\__init__.py", line 374, in __getitem__            
func = self._FuncPtr((name_or_ordinal, self))                               
AttributeError: function 'alcGetStringiSOFT' not found                          

Here are the files I have in my folder:
lib_openal.py
lib_alc.py
lib_efx.py
OpenAL32.dll
test.py
Some others that just sit there without being used. They're not imported, the script above is meant to see if everything works correctly.
So any tips?
Edit: I just tried downloading the latest version and replacing the dll. Still no luck, same error.



-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector

Reply via email to