Exception with Flash 10.1 Beta

F-IN-BOX for Delphi / Builder C++ / VCL
sabachkin
Posts: 3
Joined: Thu Nov 19, 2009 3:39 pm

Exception with Flash 10.1 Beta

Postby sabachkin » Thu Nov 19, 2009 3:54 pm

f-in-box DLL fails with Invalid Floating Point Exception when you create the ActiveX Flash class object.

Steps to reproduce:
0. Uninstall any ofl currently installed version of Flash ActiveX
1. Install Flash 10.1 ActiveX Beta from http://labs.adobe.com/downloads/flashplayer10.html
2. Try to use ANY F-IN-BOX DLL application, for example, ya.online from http://online.yandex.ru/

Many people are getting the same error, for example you can read a comment about it at http://habrahabr.ru/company/yandex/blog/75650/ (Russian only)

Kinda severe error, has Adobe changed something in the new Flash version regarding creating and instantiating OLE controls? I've just tried to just create a flash object in a empty Delphi project, only getting the same exception exactly at TShockWaveFlash.Create line.
But Internet Explorer just loads and uses Flash 10.1 without any problem!

I'll try to look into it later today with the debugger to know the exact location of the problem.

Any suggestions guys?

sabachkin
Posts: 3
Joined: Thu Nov 19, 2009 3:39 pm

Postby sabachkin » Thu Nov 19, 2009 4:16 pm

Ok. some more info:
Looks like it's not a Flash or F-IN-BOX problem, but a Delphi one!

Compiled examples from F-IN-BOX DLL run just fine with 10.1 Beta!

But compiled examples from F-IN-BOX DELPHI always fail to create the object with the mentioned exception!
Download these and try http://www.f-in-box.com/download/FlashP ... AppExe.zip

So this topic can be moved to a Delphi section I think

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

Postby Softanics » Fri Nov 20, 2009 12:46 pm

Thank you for the information.

Yes, we've reproduced the problem. We have already fixed it and I'm building the updated version right now.

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

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

Postby Softanics » Fri Nov 20, 2009 2:59 pm

I've just uploaded updated version, could you please check it?

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

sabachkin
Posts: 3
Joined: Thu Nov 19, 2009 3:39 pm

Postby sabachkin » Fri Nov 20, 2009 3:29 pm

Yes, compiled demos now run nice. So the problem is fully fixed! Thanks a lot!

But, we often need to use Flash ActiveX natively, without wrapping it in F-IN-BOX. I've had no time yet to check the problem in the debugger myself, and you seem to already get the solution for this.

So could you please share details about how you managed to fix this? What should I change to correctly load Flash 10.1 in native Delphi code (Without wrapping it in F-IN-BOX?)

This is very important for my work and I'll appreciate your help!

Thanks a lot.

duhast
Posts: 6
Joined: Wed Nov 11, 2009 9:28 am

Postby duhast » Fri Dec 11, 2009 2:06 am

when use Flash 10.1 ActiveX and use TransparentFlashPlayerControl to load a swf movie,the rate of movie is so quickly.

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

Postby Softanics » Fri Dec 11, 2009 6:17 am

duhast wrote:when use Flash 10.1 ActiveX and use TransparentFlashPlayerControl to load a swf movie,the rate of movie is so quickly.


What if to create a simple HTML page with this movie, set wmode = "transparent" and then load the page into Internet Explorer, the same problem?

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

duhast
Posts: 6
Joined: Wed Nov 11, 2009 9:28 am

Postby duhast » Fri Dec 11, 2009 6:54 am

What if to create a simple HTML page with this movie, set wmode = "transparent" and then load the page into Internet Explorer, the same problem?


there is no problem in Internet Explorer,see this demo
http://rapidshare.com/files/319268787/f-in-box.7z.html

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

Postby Softanics » Sat Dec 12, 2009 10:40 am

duhast wrote:there is no problem in Internet Explorer,see this demo
http://rapidshare.com/files/319268787/f-in-box.7z.html


You're right.

What's strange is that if I create a simple MFC dialog-based application in Visual C++ and put wmode = transparent, it works also very fast.

But it works well in IE...
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 13 guests

cron