Skip to main content
GameDev.net gamedev.net
🔒 Locked

Dsound with MFC?

Started by Michael Lantto Jul 3, 2000 at 4:29 PM 2 replies 550+ views
Original Post
Michael Lantto
Michael Lantto
I get 11 errors in dsound.h (all about LPWAVEFORMATEX) when I compile a project that includes stdafx e.g. an MFC project. But no errors with a win32 app. Why!!!#"¤!
win32mfc
win32mfc
You need to #include
Add it to your StdAfx.h file.
// CHRIS [win32mfc]
win32mfc
win32mfc
Ugh.. The Bulletin Board filtered out the header; because it was between GT/LT signs..

Anyhow, you need to #include mmsystem.h

// CHRIS
// CHRIS [win32mfc]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.