Thema: Delphi Load AVI from resource

Einzelnen Beitrag anzeigen

WojTec

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

Load AVI from resource

  Alt 23. Aug 2014, 13:28
Delphi-Version: XE4
Just lame question, how to load AVI from resource of another file to TAnimate component? I have this and don't working:

Delphi-Quellcode:
var
  Handle: THandle;
begin
  Handle := CreateFile('C:\Windows\System32\shell32.dll', GENERIC_READ, FILE_SHARE_READ or FILE_SHARE_WRITE, nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);

  Animate1.ResHandle := Handle;
  Animate1.ResName := '165';
end;
  Mit Zitat antworten Zitat