Solved

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

Posted on 2002-05-09
6
464 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi exception 7 64
Delphi cmd execution 6 60
LAN or WAN ? 11 92
tvirtualstringtree freeze when load too manny images 10 63
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

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