Solved

unresolved external symbol

Posted on 1998-07-10
7
487 Views
Last Modified: 2013-11-19
I want to use DirectSound in my program but I get this:
unresolved external symbol _IID_IDirectSoundNotify

I already linked my program with dsound.lib and winmm.lib. So what library should I link with my program?
0
Comment
Question by:fmichaud061597
7 Comments
 
LVL 8

Expert Comment

by:trestan
Comment Utility
You define it by yourself: IID_IDirectSoundNotify? If so, it is most possibly you did not include the file containing this symbol.
0
 
LVL 1

Expert Comment

by:chacko
Comment Utility
Take all dlls and create MDFs(module definition files) and see which one to include.
0
 

Author Comment

by:fmichaud061597
Comment Utility
I don't think it will help. It's more a direct sound procedure question.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 3

Expert Comment

by:tma050898
Comment Utility
This may have just been a type in the question, but you have _IID_IDirectSoundNotify

The IID is IID_IDirectSoundNotify (without the underscore).

For example...

LPDIRECTSOUNDNOTIFY lpDsNotify;
.
HRESULT hr;
hr = lpDsbSecondary->QueryInterface(IID_IDirectSoundNotify, &lpDsNotify);
if (SUCCEEDED(hr))
{...}

0
 

Author Comment

by:fmichaud061597
Comment Utility
It's exactly what I have

if FAILED(IDirectSoundBuffer_QueryInterface(lpdsb, IID_IDirectSoundNotify, (VOID **)&lpdsNotify))
                        {
                              return FALSE;
                        }

There is no underscore
0
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
Comment Utility
dxguid.lib
0
 

Author Comment

by:fmichaud061597
Comment Utility
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now