Page 1 of 1

Load the OCX from an array of type unsigned char

Posted: Thu Jun 12, 2014 12:05 pm
by Simmetr1986
HI,

I have a question. The application I am working on has the Flash.ocx as an encrypted resource within the exe, also, the SWF to be played is in a seperate file and is also encrypted.

Is it possible to load the OCX from an array of type unsigned char (after decryption), the same for the SWF.

Thank you!

Re: Load the OCX from an array of type unsigned char

Posted: Thu Jun 12, 2014 2:00 pm
by Softanics
Hi,

Yes, it's possible, to load Flash OCX from memory use this function:
http://f-in-box.com/dll/help/index/exte ... emory.html

To load a SWF from memory use this function:
http://f-in-box.com/dll/help/index/exte ... emory.html

Thank you!