FlashPlayerControl won't work with IE7

DLL Edition of the F-IN-BOX
Jim W.
Posts: 14
Joined: Fri Feb 03, 2006 7:20 pm
Location: Atlanta, GA, USA
Contact:

FlashPlayerControl won't work with IE7

Postby Jim W. » Mon Nov 20, 2006 2:01 pm

We had some machines not playing SWFs. The common denominator was IE7. Now we can reproduce it with the samples as described below. Is anyone else having problems?

I made a simple change to the directX sample to get the swf from a url instead of embedded in the exe, and it won't play on a machine with IE7 installed.

Here's what I changed:

// Load movie from resource
// comment out this line
// FPCPutMovieFromResource g_hwndFlashPlayerControl, NULL, _T("SWF1"), _T("SWF"));

//add these line
SFPCPutMovie FPCPutMovie;
FPCPutMovie.lpszBuffer = "http://70.85.186.86/albino_flash001/TheUltimateShowdown(www.albinoblacksheep.com).swf" ;
::SendMessage(g_hwndFlashPlayerControl, FPCM_PUT_MOVIE, 0, (LPARAM)&FPCPutMovie);

if ( FAILED( FPCPutMovie.hr ) )
{
MessageBox( NULL, "Put failed", "Error", MB_OK | MB_ICONSTOP);
return FALSE;
}

Jim W.
Posts: 14
Joined: Fri Feb 03, 2006 7:20 pm
Location: Atlanta, GA, USA
Contact:

Postby Jim W. » Mon Nov 20, 2006 4:31 pm

Looks like the latest flashplayercontrol.dll fixes it!

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

Postby Softanics » Mon Nov 20, 2006 4:38 pm

Yes, you are right.

The problem with IE7 is solved.

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


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 17 guests

cron