  ___________________________________359

   - ,     -
     

PlaySound(,, SND_PURGE) ;

        
OnCloseQuery,          
 Windows         
. ,     OnCloseQuery  
       ,    
,         -
.



PlaySound(":\\Windows\\Media\\3ByK Microsoft.wav",0,SND_SYNC);

   . ... PlaySound  , 
  .       -
. ,         -
.   ,  ,      ,  -
     ,        -
.

        ,
      PlaySound.    -
    SND_NOSTOP, :

PlaySound(":\\Windows\\Media\\3ByK Microsoft.wav",,SND_SYNC I
SND_NOSTOP)

  ,         , 
   ,   PlaySound   false.
      , ..     .

     .  C++Builder
   MediaPlayer    - 
-.      5.2.4.

5.2.2      

     .  , 
   ,      -
 .

      -
 , ,       ,
   -   .    -
      . , ,   -
      C++Builder .   -
   .     
 ,   . ,   -
-      -  
  ,     
  .     ,  -
   Windows      .

    . ,   -
   - ,    : -
   ,       .

  .     Image, 
Button   Timer.    .   -
    Image,      -
 (. 5.15).