Hi ,
I think you'll have the same issue.  See: 
http://delphi.about.com/library/weekly/aa010405a.htm
What your needing to do is to iterate the res file to extract the file types 
and names.
Look in Delphi directory under Demos for ResXplor subdirectory for help as to 
reading res file.

Cheers,
Charlie



  ----- Original Message ----- 
  From: neomavez 
  To: advanced_delphi@yahoogroups.com 
  Sent: Friday, May 29, 2009 1:56 PM
  Subject: [advanced_delphi] Can I list the sounds (wavs) in resource format ?





  In my application I have a sound "Ring" which sounds at times.

  {$R *.DFM}
  {$R sounds.res}

  PlaySound( PChar('RING') ,
  0,
  SND_RESOURCE or Snd_Async) ;


  But I must know the name of the wav file that is in the resource. In fact I 
know it because I did it the file: I wrote in the rc file:

  RING WAVE "ringin.wav"

  The question is: If I remove the line "$ (R) sounds.res" and put the sounds 
in an external dll... Could I get a list of the wav file into the dll?

  Thanks for readme



  



----------------------------------------------------------------------------

    avast! Antivirus: Inbound message clean. 

    Virus Database (VPS): 090529-0, 05/29/2009
    Tested on: 5/30/2009 5:05:05 AM
    avast! - copyright (c) 1988-2009 ALWIL Software.
     

Reply via email to