Results 1 to 2 of 2
  1. #1
    hackman663's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    valve
    Posts
    19
    Reputation
    10
    Thanks
    0
    My Mood
    Blah

    Question <mmsystem.h> Sounds

    Hello! First of all sorry for my bad English.

    My problem is that sounds aren't playing in Release mode. But they are in Debug mode.
    I have linked winmm.lib @ linker/Input/Additional-Dependencies

    Code:
    ...
    #include <mmsystem.h>
    
    int main()
    {
    	PlaySound(TEXT("start.wav"), NULL, SND_ASYNC);
    ...
    }
    Project builds and works well.

    Code:
    ------ Build started: Project: joeware, Configuration: Release Win32 ------
    1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(387,5): warning MSB8028: The intermediate directory (Release\) contains files shared from another project (joeware.vcxproj).  This can lead to incorrect clean and rebuild behavior.
    1>Generating code
    1>All 141 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
    1>Finished generating code
    1>joeware.vcxproj -> J:\joeware\Release\joeware.exe
    1>Done building project "joeware.vcxproj".
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


    Thanks!
    Last edited by T-800; 05-31-2018 at 04:57 AM. Reason: Solved
    im legit
    no haxs

  2. #2
    hackman663's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    valve
    Posts
    19
    Reputation
    10
    Thanks
    0
    My Mood
    Blah
    Working!
    I needed my .wav files at the same folder as my .exe

    You may close the thread.
    im legit
    no haxs

Similar Threads

  1. Changing War Rock Game Sounds !!!
    By WarRocker19 in forum WarRock Korea Hacks
    Replies: 1
    Last Post: 05-20-2007, 08:04 AM
  2. This Guy Sounds Fun!
    By Ryyko in forum WarRock - International Hacks
    Replies: 9
    Last Post: 04-26-2007, 12:24 PM
  3. [LOL] Change WarRock Sounds
    By EndRiT in forum WarRock - International Hacks
    Replies: 6
    Last Post: 03-03-2007, 08:35 PM
  4. [Release] Windows Vista Sound Pack
    By stingray001 in forum General
    Replies: 12
    Last Post: 07-05-2006, 05:01 PM
  5. Holophonic Sounds
    By Dave84311 in forum General
    Replies: 3
    Last Post: 01-08-2006, 02:20 PM