Archived

This topic is now archived and is closed to further replies.

byork

Embedding Sound Files In C Gauge?

Recommended Posts

Is it possible to embed sound files directly in a C gauge itself, so that users cannot access the sound files?I seem to recall a Dreamfleet product did this many years ago.Cheers,

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi BryanYou should be able to embed it if you call it in as a resource (much in the same way that bitmaps are embedded). I looked briefly at this some time back but did not complete the research, so I can't give you a 'how-to'.-Dai

Share this post


Link to post
Share on other sites

Indeed, you can embed the sound files as resources, just like you do for bitmaps (for example, the bitmaps used for the gauges). Indeed, they will not appear as external files, but it will not prevent anyone to get the sound files. Extracting resrouces from a DLL is very easy...Eric

Share this post


Link to post
Share on other sites