Does anybody know if it is posible to load a AVI from a resource into
VGS Systems Engineering
either you write an extended TMediaPlayer what can read AVIs from
resources or you can create a ResourceStream, load the AVI to this
stream, save the stream to a temporary *.avi file and load it to the
TMediaPlayer. Don't forget to free the stream after this is done.
> Tim Evans
> VGS Systems Engineering
I have an RLE-compressed AVI (19K) that I've added to my .RC file as:
31001 RCDATA "<path to AVI file>"
I've built the RES file using brcc32, and built the executable. I know the
resource is in both, but the Resource Workshop displays a message that it is
too big to be displayed as text.
However, when I run the application, it excepts when I make the assignment
to the anim.ResID property. I'm creating the TAnimate component on the fly,
assigning Parent, Left, and Top properties before assigning ResID which
generates the exception.
Ideas on what I'm doing wrong?
2. TShape help