Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Load AVI from another file resource and detect format of unsupported types

  Alt 11. Aug 2014, 10:32
Delphi-Version: XE5
So, I created simple resource viewer for my purposes, all is oke, but I don't know how to load some resources types to preview: AVI, JPEG, PNG, GIF and RTF.

For AVI there is RT_AVI type, I can create hexadecimal preview, but I would like to see animation. I tried use TAnimation.ResName, but looks like it don't know location (file) from to load this resource. How I can load AVI preview?

For rest formats I wrote on beginning there are no RT_* values, please advice how to detect resource format (currently I can anly load as hex)? Have to create additional constants for this (but what values should has)?
  Mit Zitat antworten Zitat