IKsPropertySet
(1)
DirectSoundPrivate
(1)
DirectSoundDevice
(1)
WaveDeviceId
(1)
DirectSound
(1)
DSPROPSETID
(1)
LNK2001
(1)
Linker
(1)

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.

I am sorry. I posted to the wrong NG.Sorry for the SPAM.Daniele.

Barz replied to Barz
26-Oct-09 09:00 PM
I am sorry. I posted to the wrong NG.
Sorry for the SPAM.

Daniele.
Post Question To EggHeadCafe