• 0

Sound in Resource File


Question

4 answers to this question

Recommended Posts

  • 0

Actually I think this will be more difficult than that. .NET Resources are alot different from old style resources. The PlaySound API either takes a resource handle (old style handle that is) or and filename. So basically you are either going to have to use legacy resources (probably not a good idea), or your other option is to extract the resource and save it to a temporary file, then use the PlaySound API on the temporary file. I'll whip up an example if you need some more help. :)

Dan

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.