title: C++:How to use windows media player to play and pause mp3 file in a visual studio console application program?
body: <p>For a semester project, I am planning to make a media player in visual studio c++ console application which will provide the functions of play, pause, previous, next, shuffle, repeat, different playlists of recently played, most played songs, search a song etc.</p>
  
  <p>However, I can't find a way to do that without using multi-threading (which I dont know at the moment). To avoid multi-threading, I was thinking of making use of windows media player .dll if that is possible. I am expecting to give a path to play function which plays the song in background and then changes the song when I give it another path using the 'Next Song' function. Kindly tell how to do that if this is possible. Thank you.</p>