Page 1 of 1

TFlashPlayerControl in shell handlers

Posted: Thu Sep 12, 2013 12:57 pm
by GfxBro
How I can use TFlashPlayerControl in shell handlers (thumbnail and preview)?

I actually have something like this (for both handlers):

Code: Select all

TFlashPlayerControl.CreateParented(HInstance)
LoadMovieFromStream(0, AStream)
CreateFrameBitmap


This working in EXE, but in DLL freezes Explorer...

F1

Posted: Mon Sep 16, 2013 11:26 am
by Softanics
Hello,

You need a message cycle (GetMessage / DispatchMessage) to create flashplayercontrol properly.

Create a form in a separate thread and create flashplayercontrol there.

Thank you.

Posted: Mon Sep 16, 2013 6:15 pm
by GfxBro
Is there possible to do it without form?