f-in-box with local flash dll?

DLL Edition of the F-IN-BOX
aghatak
Posts: 4
Joined: Thu Oct 29, 2009 7:58 am

f-in-box with local flash dll?

Postby aghatak » Mon Nov 02, 2009 12:10 pm

hi,

i’ve created a flex app that is embedded in a VC++ container app (thru activex). we’re facing a lot of headaches in terms of flash versioning (QA efforts, stability etc).

is there any way i can use f-in-box to use a specific version of flash dlls only shipped for my app (and placed in my app’s install directory) regardless of the system’s installed flash version?

thanks
amitabh

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

Re: f-in-box with local flash dll?

Postby Softanics » Mon Nov 02, 2009 8:44 pm

Thank you for your question.

aghatak wrote:is there any way i can use f-in-box to use a specific version of flash dlls only shipped for my app (and placed in my app’s install directory) regardless of the system’s installed flash version?


It's very easy.

Load any flash.ocx which you would like to use from memory block:

Code: Select all

HFPC hFPC = FPC_LoadOCXCodeFromMemory(pData, dwSizeOfData);


Then create a f-in-box window based on returned handle HFPC:

Code: Select all

HWND hWnd__Flash =
CreateWindow( (LPCTSTR)FPC_GetClassAtom(hFPC), NULL, ... );


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 15 guests

cron