TFlashPlayerControl in shell handlers

F-IN-BOX for Delphi / Builder C++ / VCL
GfxBro
Posts: 5
Joined: Fri Jul 08, 2011 1:06 pm

TFlashPlayerControl in shell handlers

Postby GfxBro » Thu Sep 12, 2013 12:57 pm

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

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

Postby Softanics » Mon Sep 16, 2013 11:26 am

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.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

GfxBro
Posts: 5
Joined: Fri Jul 08, 2011 1:06 pm

Postby GfxBro » Mon Sep 16, 2013 6:15 pm

Is there possible to do it without form?


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 16 guests