• Advertisement

Archived

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

DirectMusic....COM?

This topic is 5236 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

Hey, I have a question regaurding the DirectMusic interface. My code says it compiles fine, but comes up with these errors:
--------------------Configuration: prj_learn - Win32 Debug--------------------
Linking...
prj_learn.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicPerformance
prj_learn.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicPerformance
Debug/prj_learn.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

prj_learn.exe - 3 error(s), 0 warning(s)
Which meens I'm not adding somthing to my compiler to make it build properly. What am I forgetting? I've added all these libraries: // INCLUDES /////////////////////////////////////////////// #define WIN32_LEAN_AND_MEAN #include <windows.h> // include important windows stuff #include <windowsx.h> #include <mmsystem.h> #include <iostream.h> // include important C/C++ stuff #include <fstream.h> #include <conio.h> #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <string.h> #include <stdarg.h> #include <stdio.h> #include <math.h> #include <io.h> #include <fcntl.h> #include <ddraw.h> // directX includes #include <dsound.h> #include <dmksctrl.h> #include <dmusici.h> #include <dmusicc.h> #include <dmusicf.h> [/source] And I've added the WINMM.lib dsound.lib ddraw.lib to my project. Anything else I need that I'm missing? Thanks in advance, -Sathenzar [edited by - demonrealms on October 22, 2003 7:44:04 PM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement