Solved

Adding an AVI to a resource file

Posted on 1998-12-07
2
303 Views
Last Modified: 2010-04-04
 I need to add an AVI to a resource file so that I can use the TAnimate.ResID/Name etc. properties, rather than the path name.
  Is there a freeware utility available that I can use, or can I do this using the tools provided with Delphi?

  Steven.
0
Comment
Question by:StevenB
2 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 100 total points
ID: 1349693
Create a Resource file, f.ex. MYAVI.RC and add a resource of type AVI. Then compile this into a resource file (.RES) using BRCC32 (in the Bin directory) and link it into your program using the {$R} directive.

The .RC file contains this line:
1 AVI MyFile.AVI

(the syntax is ResID, ResName and resource)
0
 
LVL 4

Author Comment

by:StevenB
ID: 1349694
 Yeah, I see now. That seems to have done the trick, with a little bit of experimentation.

  Cheers for the help, Steven.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question