Discussion:
unresolved external symbol _IID_IKsPropertySet
(too old to reply)
Barzo@Google
2009-10-21 09:55:08 UTC
Permalink
Hi,

In my static library, I'm 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've 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.
Barzo@Google
2009-10-21 09:57:02 UTC
Permalink
I'm sorry. I posted to the wrong NG.
Sorry for the SPAM.

Daniele.

Loading...