Reportpro 3 and windows 10
Posted: Thu Jun 04, 2020 3:41 pm
Hello Wolfang,
ok, so i´ll do.
Here is my manifest for rprt309.dll.
The name ist important. Is has to be "rpRT309.Manifest". This file has to be in the same directory as rprt309.dll itself. There is also the option to "burn" it into the dll with the MT.EXE from C:Program Files (x86)Windows Kits10bin10.0.18362.0x86.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity name="RPRT309" version="3.9.0.0" type="win32" processorArchitecture="x86"/>
<file name="rpRT309.DLL">
<comClass
clsid="{7610B471-BE49-11D0-877E-00609726A5CE}"
description="ReportPro Runtime"
tlbid="{7610B470-BE49-11D0-877E-00609726A5CE}"
threadingModel="Apartment"
miscStatusContent="cantlinkinside,insideout,activatewhenvisible,renderingisdeviceindependent,invisibleatruntime"
progid="ReportPro.Runtime.39">
<progid>ReportPro.Runtime</progid>
</comClass>
</file>
<file name="rpRT309.tlb">
<typelib
tlbid="{7610B470-BE49-11D0-877E-00609726A5CE}"
version="3.9"
helpdir=""
flags="hasdiskimage"/>
</file>
</assembly>
So here´s the manifest for the application. It´s names Application.exe.Manifest and has to be in the same directory as the application itself or could be "burned in" with the MT-Tool or could be inserted into the application with a define like this:
resource CREATEPROCESS_MANIFEST_RESOURCE_ID RC_RT_MANIFEST c:ApplicationprojectspathApplication.exe.manifest
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="20.0.7.1"
processorArchitecture="X86"
name="application.exe"
type="win32"
/>
<description>This.is.an.application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="RPRT309"
version="3.9.0.0"
processorArchitecture="x86" />
</dependentAssembly>
</dependency>
</assembly>
And of course there could be other dependencies in this manifest, like c# assemblies to extend the abilities of VO.
Enjoy.
Heiko J. Pongratz
ok, so i´ll do.
Here is my manifest for rprt309.dll.
The name ist important. Is has to be "rpRT309.Manifest". This file has to be in the same directory as rprt309.dll itself. There is also the option to "burn" it into the dll with the MT.EXE from C:Program Files (x86)Windows Kits10bin10.0.18362.0x86.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity name="RPRT309" version="3.9.0.0" type="win32" processorArchitecture="x86"/>
<file name="rpRT309.DLL">
<comClass
clsid="{7610B471-BE49-11D0-877E-00609726A5CE}"
description="ReportPro Runtime"
tlbid="{7610B470-BE49-11D0-877E-00609726A5CE}"
threadingModel="Apartment"
miscStatusContent="cantlinkinside,insideout,activatewhenvisible,renderingisdeviceindependent,invisibleatruntime"
progid="ReportPro.Runtime.39">
<progid>ReportPro.Runtime</progid>
</comClass>
</file>
<file name="rpRT309.tlb">
<typelib
tlbid="{7610B470-BE49-11D0-877E-00609726A5CE}"
version="3.9"
helpdir=""
flags="hasdiskimage"/>
</file>
</assembly>
So here´s the manifest for the application. It´s names Application.exe.Manifest and has to be in the same directory as the application itself or could be "burned in" with the MT-Tool or could be inserted into the application with a define like this:
resource CREATEPROCESS_MANIFEST_RESOURCE_ID RC_RT_MANIFEST c:ApplicationprojectspathApplication.exe.manifest
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="20.0.7.1"
processorArchitecture="X86"
name="application.exe"
type="win32"
/>
<description>This.is.an.application</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="RPRT309"
version="3.9.0.0"
processorArchitecture="x86" />
</dependentAssembly>
</dependency>
</assembly>
And of course there could be other dependencies in this manifest, like c# assemblies to extend the abilities of VO.
Enjoy.
Heiko J. Pongratz