• Advertisement

Archived

This topic is now archived and is closed to further replies.

DirectSoundBuffer8 ....

This topic is 6073 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I got several errors in my source code about using WAVEFORMATEX structure ... I included dsound.h and dsound.lib in my program, but ... Errors: d:\mssdk\include\dsound.h(228) : error C2143: syntax error : missing '';'' before ''*'' d:\mssdk\include\dsound.h(228) : error C2501: ''LPCWAVEFORMATEX'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(350) : error C2146: syntax error : missing '';'' before identifier ''lpwfxFormat'' d:\mssdk\include\dsound.h(350) : error C2501: ''LPWAVEFORMATEX'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(350) : error C2501: ''lpwfxFormat'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(366) : error C2146: syntax error : missing '';'' before identifier ''lpwfxFormat'' d:\mssdk\include\dsound.h(366) : error C2501: ''LPWAVEFORMATEX'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(366) : error C2501: ''lpwfxFormat'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(417) : error C2146: syntax error : missing '';'' before identifier ''lpwfxFormat'' d:\mssdk\include\dsound.h(417) : error C2501: ''LPWAVEFORMATEX'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(417) : error C2501: ''lpwfxFormat'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(426) : error C2146: syntax error : missing '';'' before identifier ''lpwfxFormat'' d:\mssdk\include\dsound.h(426) : error C2501: ''LPWAVEFORMATEX'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(426) : error C2501: ''lpwfxFormat'' : missing storage-class or type specifiers d:\mssdk\include\dsound.h(687) : error C2061: syntax error : identifier ''LPWAVEFORMATEX'' d:\mssdk\include\dsound.h(697) : error C2061: syntax error : identifier ''LPCWAVEFORMATEX'' d:\mssdk\include\dsound.h(771) : error C2061: syntax error : identifier ''LPWAVEFORMATEX'' d:\mssdk\include\dsound.h(781) : error C2061: syntax error : identifier ''LPCWAVEFORMATEX'' d:\mssdk\include\dsound.h(1042) : error C2061: syntax error : identifier ''LPWAVEFORMATEX'' d:\mssdk\include\dsound.h(1100) : error C2061: syntax error : identifier ''LPWAVEFORMATEX'' d:\my projects\test2\sound.h(66) : error C2447: missing function header (old-style formal list?) D:\My projects\test2\test2Dlg.cpp(19) : error C2512: ''MySoundTemplate'' : no appropriate default constructor available Generating Code... Skipping... (no relevant changes detected) test2.cpp Error executing cl.exe. test2.exe - 22 error(s), 0 warning(s) please help me ... Hadi Rezaie

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement