Page 1 of 1

Serious Resource Problem

Posted: Fri Dec 08, 2006 7:53 am
by frogzfeet
I have created a couple of applications using the VCL FlashPlayerControl but then I had reports of the applications locking up after a period of time when run.
I ran the offending programs in MemSleuth and noticed that when the mouse was moved over a flash button, icon resources were being created. This continued until the program ran out of resources.
I created a simple flash program with just 1 button and ran MemSleuth again. This time I loaded one of your example programs (Sample1_SWF_And_FLV_Player) which was compiled in Delphi 2006 Professional and in this loaded the flash swf with 1 button. When I ran the mouse over the button, icon resources were again created at an alarming rate. Can you please investigate the cause of this and find a fix. This problem more of less makes FlashPlayerControl useless for any serious use :O(
I am using Flash 8.
Regards
D

Posted: Fri Dec 08, 2006 10:22 am
by Softanics
Thank you for your report.

Could you please download and test latest demo version of the component?

Problem continues...

Posted: Fri Dec 08, 2006 10:53 pm
by frogzfeet
Thank you Artem for you prompt reply.
I downloaded the latest trial version (we were using the latest registered version without source) and the problem still persists. I will send an e-mail to your support address giving you a location to download my sample applications (Flash 8 and Delphi 2006) as well as a MemorySleuth and a screen video (swf) showing the problem.

Regards,
D

more info

Posted: Sat Dec 09, 2006 3:23 am
by frogzfeet
Just as added information, I created an ActiveX TShockWave component as described on the excellent Delphi + Flash website (www.delphiflash.com) and ran the same programs. This time no icon resources were created... so it looks like the problem is in FlashPlayerControl.

Hope that helps,
D

Posted: Sat Dec 09, 2006 9:34 am
by Softanics
Thank you!

I received your letter and I'm downloading your example.

Posted: Sun Dec 10, 2006 5:10 pm
by Softanics
The problem is really exists. The update will be available tomorrow.

Thank you.

Posted: Sun Dec 10, 2006 10:04 pm
by frogzfeet
Thank you Artem

Posted: Mon Dec 11, 2006 4:43 pm
by Softanics
I have uploaded updated version. Could you please test it?

Thank you again!

Posted: Mon Dec 11, 2006 5:47 pm
by HPW
Will this get into a upgrade for registered user of V3?

Will you sent out new download links to registered users?

Posted: Mon Dec 11, 2006 8:08 pm
by Softanics
All registered users can download updated version from the private area using personal access codes.

Posted: Mon Dec 11, 2006 11:35 pm
by frogzfeet
Hello Artem,
The new update seems to have fixed it apart from one minor error. Here is the output from Memory Sleuth. Thanks for your quick response to this one!

Dave



Resources not freed:
Type Size Tag Call Hierarchy
Icon - 0
shell.exe : FlashPlayerControl.pas line 3702 ( $46BC7D )
shell.exe : Controls.pas line 8180 ( $449B71 )
shell.exe : Controls.pas line 7159 ( $4476E6 )
shell.exe : FlashPlayerControl.pas line 3403 ( $46B55F )
shell.exe : FlashPlayerControl.pas line 10017 ( $474912 )

Highest global memory use: 0 bytes