From: "Ken White" Newsgroups: borland.public.delphi.graphics References: <3e345612$1@newsgroups.borland.com> Subject: Re: AVI Date: Thu, 27 Feb 2003 07:49:17 -0600 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 192.152.140.9 Message-ID: <3e5e175b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1046353755 192.152.140.9 (27 Feb 2003 05:49:15 -0800) Path: newsgroups.borland.com!not-for-mail Xref: newsgroups.borland.com borland.public.delphi.graphics:56737 Mike, > How to I go about imbedding a > AVI file in to my app so I do not > an external avi file? Create a text file with an .RC extension. Do *not* name this file the same as any form, or with the same name as your project. The file should contain: AVI For example, in MyRes.rc: MYAVI AVI C:\MyApp\MyAVI.avi In Delphi 6 or 7, use the Project Manager (View|Project Manager) and add this .RC file to your project. In D5 or earlier, you'll need to compile it yourself any time the .RC changes, using BRCC32.EXE from your $(Delphi)\Bin folder. BRCC32 MyRes.rc Add the following to the main form's source, right after the existing {$R *.RES}: {$R MyRes.res} At runtime, set TAnimate's ResName property to the name of your resource: Animate1.ResName := 'MYAVI'; Ken --- Ken White kwhite@adpsi.com Clipper Functions for Delphi and C++ Builder http://www.adpsi.com