Tricks and Tips for Optimizing

F-IN-BOX for Delphi / Builder C++ / VCL
Thomas
Posts: 4
Joined: Tue Sep 20, 2005 4:31 pm

Tricks and Tips for Optimizing

Postby Thomas » Tue Sep 20, 2005 4:40 pm

I have a big Movie on Flash8 and it plays OK on an 800Mhz System using the normal Flash8 projector.

If I take Delphi and OCX it is very slow.

So what can I optimize, and where. Bigger stack is of no effect. Maybe priority changing or is there a way to give the player more memory ?


I think it is maybe even of general interest to know if there are tricks or tips to enhance the behaviour of the flashplayer control. So if anybody ?!-...

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Sep 20, 2005 6:38 pm

Some useful information about reducing memory usage see here:
http://www.flashplayercontrol.com/forum ... c.php?t=59
This is a C++ code, but I hope somebody can translate it into Delphi.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Thomas
Posts: 4
Joined: Tue Sep 20, 2005 4:31 pm

Postby Thomas » Tue Sep 20, 2005 7:31 pm

O.K. that would be
SetProcessWorkingSetSize(GetCurrentProcess, Cardinal(-1), Cardinal(-1));
in the onTimer event all 10 seconds.

A little bit better, but not much. For the 600Mhz it has no visible enhancement. But the Memory usage is lower. What is no big deal with over 1GB.

Thanx for this 1st tip.

How does it come, that native Flash-Player-EXE is bigger but also faster than my Delphi Player ?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Sep 20, 2005 8:09 pm

Thomas wrote:How does it come, that native Flash-Player-EXE is bigger but also faster than my Delphi Player ?


In transparent mode?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Thomas
Posts: 4
Joined: Tue Sep 20, 2005 4:31 pm

Postby Thomas » Tue Sep 20, 2005 8:27 pm

Softanics wrote:
Thomas wrote:How does it come, that native Flash-Player-EXE is bigger but also faster than my Delphi Player ?


In transparent mode?



ouhhh ! ahhhem ! yea ! That big different ?
LOL ! And I'm trying and trying, didn't even thought about that I am using transparen Flashplayer.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Sep 21, 2005 6:41 am

Thomas wrote:
Softanics wrote:
Thomas wrote:How does it come, that native Flash-Player-EXE is bigger but also faster than my Delphi Player ?


In transparent mode?



ouhhh ! ahhhem ! yea ! That big different ?


Yes :)
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 20 guests

cron