?
Solved

Adding an AVI to a resource file

Posted on 1998-12-07
2
Medium Priority
?
313 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 300 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

765 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