的問題是: 當我包括<dmusici.h>,我收到以下錯誤: dmdls.h:81: error: declaration of `WLOOP _DMUS_REGION::WLOOP[1]'
dls1.h:264: error: changes meaning of `WLOOP' from `typedef struct _rloop WLOOP'
一個例子: using namespac
我注意到,當從MME讀取MIDI端口名稱時,名稱是使用ANSI Codepage進行編碼的多字節字符串,默認情況下我的應用程序使用該代碼頁。從DirectMusic驅動程序接收這些名稱時,這些名稱是使用OEM代碼頁編碼的寬字符字符串。請參閱this article by Raymond Chen以便快速瞭解代碼頁。 在我的德制,這意味着使用當前代碼頁,這原來是ANSI一個時,我得到「Audioge