I have a game that uses flash activex component.
The problem is I need a specific version of flash.
I don't want to register the component over the existing higher version which can cause big security issues. I only want to use it for my application.
I've heard about registration free com technology using a manifest file for my application but didn't found any information on using it with flash activex or even its possible.
So my question is it possible to us the flash activex component as a registration free com? if yes then what are the requirements and how the manifest file should look as my try failed.
This is the .manifest I've tried:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="App" version="1.0.0.1"
processorArchitecture="x86" publicKeyToken="0000000000000000" />
<file name="Flash8.ocx">
<comClass clsid="{D27CDB6E-AE6D-11cf-96B8-444553540000}" threadingModel="Both" />
</file>
</assembly>
WARNING: Before I give you too much hope, I haven't tested this with Flash. I've tested it with smaller stuff where I "owned" both COM client and server. If Flash or some software it depends on requires registry settings other than pure COM and ActiveX controls, and even so, settings which are not available in manifests (e.g. categories), this might not work.
Define one Assembly Manifest for each file that Flash installs, that matches the COM settings that Flash registers during installation. If you know enough COM, you'll-know-where-to-look. Each of these manifest files must have a name different from the DLL.
Then, create an Application Manifest for your executable and add assembly dependencies after the file names you chose previously. If your application doesn't have an embedded manifest, this will be
<your-application>.exe.manifest
. If it has, you must make your build tool include these dependencies.my-application.exe.manifest
Adobe.Flash.Control.manifest
I tested with the following bare-bones example, and it seems to work. Using Process Explorer, I can see that it loads the local Flash8g.ocx:
my-application.cpp