开发者

How to bundle a .wav sound into a Winform application .exe executable?

开发者 https://www.devze.com 2023-01-12 22:30 出处:网络
I have a al开发者_如何学运维arm clock Winform program with a .wav sound. I would like to bundle the sound file into the exe file so that it is easier to distribute. How can I do this?You could include

I have a al开发者_如何学运维arm clock Winform program with a .wav sound. I would like to bundle the sound file into the exe file so that it is easier to distribute. How can I do this?


You could include the .wav file as an embedded resource. This link describes how you can play the .wav file that is embedded.

0

精彩评论

暂无评论...
验证码 换一张
取 消