Einzelnen Beitrag anzeigen

WojTec

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

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

  Alt 11. Aug 2014, 16:17
can windows mediaplay playback this movie ?
Codec is not problem, problem is how to load resource from another file than self or system (common AVI) to TAnimate. Or maybe another simple component that can load from stream (I know resource name and have content in stream)?

Code:
Animate1.ResHandle:= { handle from CreateFile() };
Animate1.ResName := { name here };

// Here is how handle is received
Handle := CreateFile(PChar(FFileName), GENERIC_READ, FILE_SHARE_READ, nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
And what about other types?

Geändert von WojTec (11. Aug 2014 um 17:13 Uhr) Grund: Added code
  Mit Zitat antworten Zitat