FLV playback problem

DLL Edition of the F-IN-BOX
KwangSu
Posts: 2
Joined: Tue May 15, 2007 7:34 am

FLV playback problem

Postby KwangSu » Fri Jun 06, 2008 3:07 pm

Hello,

In Sample01_SWF_And_FLV_Player, I modifed some code to test what I want.
To play Flash Video,
I use http://www.xxx.com/flvplayer.swf and http://www.xxx.com/sample.flv !
(I have to put swf and flv files at web server!)

It works normally,
But after FPC_UnloadCode() is called,
program crash sometimes occurs somewhere in urlmon.dll (maybe urlmon callback function)

When deleting Temporary Internet Files(cached files) and executing quickly FPC_UnloadCode() after FPCM_PUT_MOVIE,
the crash often occurs.

Code: Select all

CString strFlashVars = _T("FLVPath=");
strFlashVars += "http://www.xxx.com/sample.flv";
FPC_PutFlashVars(m_hwndFlashPlayerControl, strFlashVars);

SFPCPutMovie FPCPutMovie;
FPCPutMovie.lpszBuffer = "http://www.xxx.com/flvplayer.swf"
::SendMessage(m_hwndFlashPlayerControl, FPCM_PUT_MOVIE, 0, (LPARAM)&FPCPutMovie);


Code: Select all

::DestroyWindow(m_hwndFlashPlayerControl);
FPC_UnloadCode(hFPC);



please give me advise.
thank you.
(I purchased f-in-box license last year)

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

Postby Softanics » Sat Jun 07, 2008 4:52 am

Thank you.

May be you can send me the modified code to support (at) f-in-box.com ?
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 11 guests

cron