Solved

TAnimate Error when load file .AVI Size 4.8 MB....How to have it fixed?

Posted on 2002-05-09
6
471 Views
Last Modified: 2010-04-04
        I have build Resource Only DLL, say, 'TEST.DLL' contain Resource name 'TEST01' in which built from 'TEST.AVI' file in order to protect AVI from externally used with any AVI player... Then comes the time problems revealed....
         I've noticed that whenever I tried to Attached file AVI to TAnimate components and AVI is huge in size...It will then show Error message at design time 'Can't load AVI'. Then I turn back to smaller file size, it works properly...I've looked into code in Comctrls.PAS where TAnimate's source code lie... I wonder how to fix the problems or how to download any component capable of load AVI file over 4 MB from DLL or how to write a code to load AVI Resource from DLL and have it shown in form
         Show me full source code... I'll give you back my points, please....
0
Comment
Question by:DOOM_DAEMON
[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
6 Comments
 
LVL 9

Expert Comment

by:ginsonic
ID: 6998859
listening... for moment
0
 
LVL 17

Expert Comment

by:inthe
ID: 7000277
hi,
TMediaplayer would be better..
i know you metioned
"in order to protect AVI from externally used with any AVI player... "
but you cant really protect it as there are many editors etc avialable on internet for getting the avi from the res dll anyway.
0
 
LVL 1

Author Comment

by:DOOM_DAEMON
ID: 7004519
       I know that TMediaPlayer is capable of displaying .AVI file in TAnimate but I insist... I just want it harder to extract my own AVI file from DLL. Though I know that Resource Explorer is capable of doing such stuff...So how to Extract .AVI and have it shown on my form still be my Question and I increase points up to 200 for you guy who can help me out... Please do me a favor...
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:DOOM_DAEMON
ID: 7004521
       I know that TMediaPlayer is capable of displaying .AVI file in TAnimate but I insist... I just want it harder to extract my own AVI file from DLL. Though I know that Resource Explorer is capable of doing such stuff...So how to Extract .AVI and have it shown on my form still be my Question and I increase points up to 200 for you guy who can help me out... Please do me a favor...
0
 

Accepted Solution

by:
PEGGY earned 250 total points
ID: 7599703
Hi,
I had a similiar problem with TAnimate.If u r not very keen on using TAnimate then may be this suggestion can be of use to you.

If u check MPlayer.pas(TMediaPlayer) source, u will find that the Display property of TMediaPlayer is of type TWincontrol...ie. u do not need to use TAnimate with TMediaPlayer....u can simply use any other TWincontrol component to display ur avi....and that too of a much bigger size..

Just drop a Panel (or any TWincontrol) on ur form.
Drop the MediaPlayer component and in its Display property select the TWincontrol dropped earlier(Panel).

At runtime click on the play button & there it is...



regards
PEGGY
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005466
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from PEGGY

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

623 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