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"