Hi Again, On 2nd look that putting the resource in a DLL will work better as you thought. The demo code should be more helpful in that situation.
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.