Solved

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

Posted on 2002-05-09
6
453 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to fill array with TArray.Create? 14 79
Delphi cmd execution 6 56
Delphi 2 50
How to define IfThen functions in one common unit? 4 44
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

13 Experts available now in Live!

Get 1:1 Help Now