Solved

unresolved external symbol

Posted on 1998-07-10
7
523 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
Industry Leaders: 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 172
notReplace  challenge 53 151
unix example issues 18 106
how to use laptop or pad camera in vb.net windows application 2 109
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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