Original Post
I''m having some trouble getting my directmusic program file to compile. When I try to compile it shows me a bunch of messages saying there are errors in the DMusic header files.
Here is what is outputed by the compiler:
-----------------------------------------------------------------
[C++Error] dmusici.h(284): Unexpected end of file in comment started on line 283.
[C++Error] dmusici.h(285): Unexpected end of file in conditional started on line 10.
[C++Warning] dmusici.h(285): Structure packing size has changed.
[C++Error] Timer2MainForm.cpp(23): Enum syntax error.
[C++Error] Timer2MainForm.cpp(51): Undefined symbol ''CLSID_DirectMusicLoader''.
[C++Error] Timer2MainForm.cpp(52): Undefined symbol ''IID_IDirectMusicLoader8''.
[C++Error] Timer2MainForm.cpp(53): Undefined symbol ''CLSID_DirectMusicPerformance''.
[C++Error] Timer2MainForm.cpp(54): Undefined symbol ''IID_IDirectMusicPerformance8''.
[C++Error] Timer2MainForm.cpp(55): ''InitAudio'' is not a member of ''IDirectMusicPerformance8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(59): ''SetSearchDirectory'' is not a member of ''IDirectMusicLoader8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(59): Undefined symbol ''GUID_DirectMusicAllTypes''.
[C++Error] Timer2MainForm.cpp(169): ''LoadObjectFromFile'' is not a member of ''IDirectMusicLoader8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(169): Undefined symbol ''CLSID_DirectMusicSegment''.
[C++Error] Timer2MainForm.cpp(170): Undefined symbol ''IID_IDirectMusicSegment8''.
[C++Error] Timer2MainForm.cpp(173): ''Download'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(293): ''PlaySegmentEx'' is not a member of ''IDirectMusicPerformance8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(479): ''Stop'' is not a member of ''IDirectMusicPerformance8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(480): ''CloseDown'' is not a member of ''IDirectMusicPerformance8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(483): ''Release'' is not a member of ''IDirectMusicLoader8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(484): ''Release'' is not a member of ''IDirectMusicPerformance8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(486): ''Release'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(489): ''Release'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(492): ''Release'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(495): ''Release'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Error] Timer2MainForm.cpp(498): ''Release'' is not a member of ''IDirectMusicSegment8'', because the type is not yet defined.
[C++Warning] Timer2MainForm.cpp(508): Structure packing size has changed.
[C++Error] Timer2MainForm.cpp(508): } expected.
[C++Error] Timer2MainForm.cpp(508): Too many error or warning messages.
----------------------------------------------------------------
I can''t figure out what is wrong here I appreciate any help any body can give me. Thanks!
Jesus is knocking at the door of your heart, won''''t you let him in?