C: some files in/Windows/winsxs/policies ensure the DLL compatibility of various versions of vc8.
To use the EXE compiled by vc8 SP1 (connecting to the Lib of vc8) on a computer where vc8 (without SP1) is installed
In addition to Testing Several DLL directories to the working directory, you also need to test the corresponding files under C:/Windows/winsxs/policies to the system directory of the other party.
<? XML version = '1. 0' encoding = 'utf-8' standalone = 'Yes'?> <Br/> <Assembly xmlns = 'urn: Schemas-Microsoft-com: ASM. v1 'manifestversion = '1. 0'> <br/> <dependency> <br/> <dependentassembly> <br/> <assemblyidentity type = 'win32 'name = 'Microsoft. vc80.debugcrt 'version = '8. 0.50727.762 'processorarchitecture = 'x86 'publickeytoken = '1fc8b3b9a1e18e3b'/> <br/> </dependentassembly> <br/> </dependency> <br/> <dependency> <br/> <dependentassembly> <br/> <assemblyidentity type = 'win32 'name = 'Microsoft. vc80.debugmfc 'version = '8. 0.50727.762 'processorarchitecture = 'x86 'publickeytoken = '1fc8b3b9a1e18e3b'/> <br/> </dependentassembly> <br/> </dependency> <br/> <dependency> <br/> <dependentassembly> <br/> <assemblyidentity type = 'win32 'name = 'Microsoft. vc80.debugcrt 'version = '8. 0.50608.0 'processorarchitecture = 'x86 'publickeytoken = '1fc8b3b9a1e18e3b'/> <br/> </dependentassembly> <br/> </dependency> <br/> </Assembly>
The above file indicates that this execution file requires two versions of vc8 libraries, but for those installed with SP1, there is no vc8 library, so it is necessary to compile ies to develop a SP1 compatible vc8 library.
The above steps solve the problem:
I use SP1 to compile an EXE, and connect a vc8 (without SP1) Lib. Now I want to use it on a computer without SP1 or vc8.