Solved

Adding an AVI to a resource file

Posted on 1998-12-07
2
300 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now