Solved

unresolved external symbol

Posted on 1998-07-10
7
538 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 8

Expert Comment

by:trestan
ID: 1319016
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
ID: 1319017
Take all dlls and create MDFs(module definition files) and see which one to include.
0
 

Author Comment

by:fmichaud061597
ID: 1319018
I don't think it will help. It's more a direct sound procedure question.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:tma050898
ID: 1319019
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
ID: 1319020
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
ID: 1319021
dxguid.lib
0
 

Author Comment

by:fmichaud061597
ID: 1319022
Thanks
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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