wiliam 发表于 2014-7-25 18:36:22

关于playsoundAPI的疑问

      .386
      .model flat,stdcall
      option casemap:none
      
include      windows.inc
include      user32.inc
includelib    user32.lib
include      kernel32.inc
includelib    kernel32.lib
include      winmm.inc
includelib    winmm.lib

      .data
szSound      db    'ring.wav',0

      .code
start:
    invoke    PlaySound,addr szSound,NULL,SND_FILENAME
    invoke    ExitProcess,NULL
   
    end    start
我调用了playsound 为什么歌曲播放了5秒钟就自动关闭了 求解释
页: [1]
查看完整版本: 关于playsoundAPI的疑问