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.