Another Philip Taylor
2009-03-26 18:21:01 UTC
Its driving me nuts - I have an updated C++ application that has a
DirectSound interface. The code has been converted to use managed C++ and now
compiles OK but fails to link - a typical error being
error LNK2020: unresolved token (0A00000D) IID_IDirectSound3DListener
followed by
error LNK2001: unresolved external symbol IID_IDirectSound3DListener
I can't find any documentation that relates to VS2008 managed C++ using
DirectX (including sample programs) so would someone put me out of my misery
and let me know whether this combination is possible and if so how.
As per the latest SDK, which still refers to VS2003, I have now defined
INITGUID and included dxguid.lib, but it still fails to link. I think the
answer is related to where these GUIDs actually live - within my app or
within a lib/dll.
Thanks
DirectSound interface. The code has been converted to use managed C++ and now
compiles OK but fails to link - a typical error being
error LNK2020: unresolved token (0A00000D) IID_IDirectSound3DListener
followed by
error LNK2001: unresolved external symbol IID_IDirectSound3DListener
I can't find any documentation that relates to VS2008 managed C++ using
DirectX (including sample programs) so would someone put me out of my misery
and let me know whether this combination is possible and if so how.
As per the latest SDK, which still refers to VS2003, I have now defined
INITGUID and included dxguid.lib, but it still fails to link. I think the
answer is related to where these GUIDs actually live - within my app or
within a lib/dll.
Thanks