https://bugs.winehq.org/show_bug.cgi?id=39942
Bug ID: 39942 Summary: Can't Find 'xaudio2_7.DllGetClassObject' Product: Wine Version: 1.9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xaudio2 Assignee: wine-bugs@winehq.org Reporter: fan-wen-jie@msn.cn Distribution: ---
Created attachment 53363 --> https://bugs.winehq.org/attachment.cgi?id=53363 module:find_forwarded_export module not found for forward 'xaudio2_7.DllGetClassObject' used by L"C:\windows\system32\xaudio2_6.dll"
I Write a Program for testing xaudio2
#include <Windows.h> #include <stdio.h> void CheckMethod(HINSTANCE hin,char name[]) { void *func = GetProcAddress(hin, name); printf("%sFind %s In XAudio2.6\n", func ? "":"Not ", name); } int main() { GUID clsID; CLSIDFromString(L"{3eda9b49-2085-498b-9bb2-39a6778493de}", &clsID);//GUID OF XAUDIO2_6 HINSTANCE hin = LoadLibrary(L"XAudio2_6.dll"); CheckMethod(hin, "DllGetClassObject"); CheckMethod(hin, "DllCanUnloadNow"); CheckMethod(hin, "DllRegisterServer"); CheckMethod(hin, "DllUnregisterServer"); return 0; }
In Windows ,It shows that: Find DllGetClassObject In XAudio2.6 Find DllCanUnloadNow In XAudio2.6 Find DllRegisterServer In XAudio2.6 Find DllUnregisterServer In XAudio2.6
But In Wine (Ubuntu 15.10),It shows that module:find_forwarded_export module not found for forward 'xaudio2_7.DllGetClassObject' used by L"C:\windows\system32\xaudio2_6.dll" Not Find DllGetClassObject In XAudio2.6 Find DllCanUnloadNow In XAudio2.6 Find DllRegisterServer In XAudio2.6 Find DllUnregisterServer In XAudio2.6
I find "DllGetClassObject" in xaudio_dll.c of Floder "xaudio2_7"
https://bugs.winehq.org/show_bug.cgi?id=39942
fanwenjie fan-wen-jie@msn.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't Find |Can't Find xaudio2_7.dll.so |'xaudio2_7.DllGetClassObjec | |t' |
https://bugs.winehq.org/show_bug.cgi?id=39942
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- As also pointed out on IRC, a very likely explanation is that Wine was compiled without XAudio2_7 support because build dependencies (in this case OpenAL-Soft) were missing.
This would mean that its not really a Wine bug, but a packaging/compilation bug instead. If its a self-compiled version, make sure that ./configure doesn't complain about missing OpenAL-Soft. Otherwise, unless this is a WineHQ provided package, you should forward the issue to the corresponding package maintainer.
https://bugs.winehq.org/show_bug.cgi?id=39942
fanwenjie fan-wen-jie@msn.cn changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from fanwenjie fan-wen-jie@msn.cn --- I'm sorry,I build wine without openal,this caused by my mistake;Please close the bug report!
https://bugs.winehq.org/show_bug.cgi?id=39942
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing.