property CoCreateManifestFile.
Creates a Manifest file for a COM DLL/OCX file to make it
free from the Registry (No need to use Regsvr32.exe).
|
ComponentFilename
[in] . Full filename of the COM DLL/OCX.
ManifestPath
[in,defaultvalue("")]
. Full pathname where to save .manifest file.
By default, the manifest file will be created in the folder of the COM
DLL/OCX.
pVal
[out, retval] The returned value is the
contents of the .manifest file or
"" (empty string)
Here is below a sample of .manifest file contents:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1'
manifestVersion='1.0'>
<noInheritable></noInheritable>
<assemblyIdentity type='win32'
name='ScriptEZ.dll' version='2.3.7.6'></assemblyIdentity>
<comInterfaceExternalProxyStub name='API.1'
iid='{1CF8638D-DBE5-47B3-9C84-4AB68B77FA9B}'
proxyStubClsid32='{00020424-0000-0000-C000-000000000046}'
baseInterface='{00000000-0000-0000-C000-000000000046}'
tlbid='{4FCD2B75-F177-4EDC-A004-4273DCAFC679}'>
</comInterfaceExternalProxyStub>
<file
name='ScriptEZ.dll'>
<typelib
tlbid='{4FCD2B75-F177-4EDC-A004-4273DCAFC679}' version='1.0' helpdir=''/>
<comClass
progid='ScriptEZ.API.1' clsid='{01947673-ADB3-48F4-A162-CF06BB23CBCD}'
threadingModel='Both'></comClass>
</file>
</assembly>
S_OK
The operation was successfull.
E_POINTER
A NULL pointer was supplied as an argument.
E_UNEXPECTED
An unexpected error occoured.