• Advertisement

Archived

This topic is now archived and is closed to further replies.

Direct Sound

This topic is 5881 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When i compile a tutorial from nehe''s point click and listen tutorial i get some link errors...: udio.obj : error LNK2001: unresolved external symbol _GUID_DirectMusicAllTypes audio.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicPerformance audio.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicPerformance8 audio.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicLoader audio.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicLoader8 audio.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicSegment audio.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicSegment8 Debug/current projects.exe : fatal error LNK1120: 7 unresolved externals ........ It''s refering to the direct sound initialization, more speicifically the com initialization! What do i do to get rid of these???????????????????????? Thanks~Doug

Share this post


Link to post
Share on other sites
Advertisement
Make sure you''re linking to dxguid.lib. Put this in you''re code:

  
#pragma comment (lib, "dxguid.lib")




"To err is human, to really mess up requires a computer"

Share this post


Link to post
Share on other sites
None of that worked but i appriciate the thought you put in greatfully! I had it working before but i reloaded my machine and had to rereference everything, maybe i messed that up? Can someone tell me what they tell vc++ to look for and where?

Share this post


Link to post
Share on other sites

  • Advertisement