--- sharp posted on 9-Mar-2004 20:08 ---
How do I use resgen to create a resource file that contains a bunch of
wav files? I've seen examples for creating ones with text but not
images.
As far as I know this can only be done from code, using the
ResourceWriter class for instance.
Or you can do it in a two-step process: first create a .resx file, and
then use resgen to convert it to a .resources file.
How you add _images_ to a .resx file is briefly illustrated by the
RESXGEN sample in the VS.NET 2003 SDK.
(SDK\v1.1\Samples\Tutorials\resourcesandlocalization\resxgen)
In its current condition, I guess the RESXGEN source code works only for
images -- a modification or two may make it work for any byte array.
Kind regards,
Koen