views:

103

answers:

1

I am writing a C++ application for Windows Mobile and cannot find any solution to my problem. In my application I want to open a WAV file. There are 2 problems for me:

  1. what function shall I use to open and close a file? Is fopen sufficient?
  2. where shall I put the WAV file on my PC's harddrive to open it from the emulator? And what directory should be given in the code?
+1  A: 
  1. Use SndPlaySync - details here.
  2. If you go here, there are details on launching the emulator with a shared folder through a command line option.
hemisphire