| View previous topic :: View next topic |
| Author |
Message |
aghatak
Joined: 29 Oct 2009 Posts: 4
|
Posted: Mon Nov 02, 2009 12:10 pm Post subject: f-in-box with local flash dll? |
|
|
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 |
|
| Back to top |
|
 |
Softanics Site Admin
Joined: 18 Sep 2004 Posts: 1386 Location: Russia, St. Petersburg
|
Posted: Mon Nov 02, 2009 8:44 pm Post subject: Re: f-in-box with local flash dll? |
|
|
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: |
HFPC hFPC = FPC_LoadOCXCodeFromMemory(pData, dwSizeOfData);
|
Then create a f-in-box window based on returned handle HFPC:
| Code: |
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 |
|
| Back to top |
|
 |
|