OK, I think I figured it out. I was missing a couple things:
- I needed to have szLibXL.manifest in my Programs directory
- That manifest needed to have the assembly version updated from 1.0.0.0 to 1.1.0.0 to match the DLL
After that, I had to update my DF-generated Manifest. It changed from this (where ***PROJECT NAME*** is the actual name of my Project.src):
Code:
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="DAW.DataFlex.***PROJECT NAME***.src" type="win32"></assemblyIdentity>
<description>***PROJECT NAME***.src</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level="asInvoker"></v3:requestedExecutionLevel>
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
<v3:application xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True</dpiAware>
</v3:windowsSettings>
</v3:application>
</assembly>
to this:
Code:
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="DAW.DataFlex.***PROJECT NAME***.src" type="win32"></assemblyIdentity>
<description>***PROJECT NAME***.src</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity processorArchitecture="msil" name="szLibXL" version="1.1.0.0"/>
</dependentAssembly>
</dependency>
<v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level="asInvoker"></v3:requestedExecutionLevel>
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
<v3:application xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True</dpiAware>
</v3:windowsSettings>
</v3:application>
</assembly>
The difference is that I added this little block after the default one for Common Controls:
Code:
...
<dependency>
<dependentAssembly>
<assemblyIdentity processorArchitecture="msil" name="szLibXL" version="1.1.0.0"/>
</dependentAssembly>
</dependency>
...
Does that match what you did?