Yeah, what errors are you getting exactly? A few things that come to mind that you can check which may help though:
* Make sure you are including windows.h *before* you are including dsound.h
* Are you linking to dxgui.lib OR defining INITGUID before the includes.
Off the top of my head those are some things that sometimes cause problems. Without more info can help anymore though.