Windows 7 - unresolved external symbol _IID_IKsPropertySet

Asked By Barz
26-Oct-09 09:00 PM
Hi,

In my static library, I am trying to use the IKsPropertySet interface
to retrieve the waveDeviceId from DirectSound device GUID.

But when I compile the test program that use my lib I get:

AudioLib4d.lib(RtAudio.obj) : error LNK2001: unresolved external
symbol _DSPROPSETID_DirectSoundDevice
AudioLib4d.lib(RtAudio.obj) : error LNK2001: unresolved external
symbol _IID_IKsPropertySet
AudioLib4d.lib(RtAudio.obj) : error LNK2001: unresolved external
symbol _CLSID_DirectSoundPrivate

I have added the dsound.lib to my linker paths and also, before
inserting the new function that use IKsPropertySet, the project worked
well!

Where could be the problem?

Thanks
Daniele.
IKsPropertySet
(1)
DirectSoundPrivate
(1)
DirectSoundDevice
(1)
WaveDeviceId
(1)
DirectSound
(1)
DSPROPSETID
(1)
LNK2001
(1)
Linker
(1)
  Barz replied to Barz
26-Oct-09 09:00 PM
I am sorry. I posted to the wrong NG.
Sorry for the SPAM.

Daniele.
Create New Account
help
the DirectSound device's GUID. - - Bjoern Win32 Multimedia Discussions XP (1) DirectSound (1) Windows (1) DIRECTSOUNDDEVICE (1) DSENUMCALLBACK (1) Microphone (1) DSPROPERTY (1) MIXERCAPS (1) Ah, I got a reply in
one source pin declaration looks like: class ReceiverSourceStream : public CSourceStream, public IAMPushSource, public IAMStreamConfig, public IKsPropertySet What can be wrong? Maybe I need to implement some other interfaces? Or may be Encoder Discussions Windows Media (1) IAMFilterMiscFlags (1) Linux (1) IAMStreamConfig (1) IAMPushSource (1) ISpecifyPropertyPages (1) IKsPropertySet (1) ReceiverSourceStream (1) VLC it running Processes for DirectShow source filter for MPEG-2 at
IBaseFilter IDSoundRender IBaseFilter IDSoundRender IDSoundRender IDSoundRender IWMPWindowMessageSink IDSoundRender IMediaSeeking IMediaPosition IAMFilterMiscFlags IBasicVideo IVideoWindow IBasicAudio IAMFilterMiscFlags IKsPropertySet IPropertyBag IAMDeviceRemoval IAMOpenProgress - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Any idea? By the way, my systerm is Window XP Sp2 and IAMOpenProgress and IAMNetShowExProps, will then WMP query for additional interfaces? Have you tried to implement IKsPropertySet and IPropertyBag to see what properties WMP is looking for? - - / / Alessandro Angeli / / MVP :: DirectShow / MediaFoundation