Piotr Caban (@piotr) commented about dlls/vccorlib140/tests/vccorlib.c:
p_platform_type_ToString = (void *)GetProcAddress(hmod, "?ToString@Type@Platform@@U$AAAP$AAVString@2@XZ"); p_platform_type_get_FullName = (void *)GetProcAddress(hmod, "?get@FullName@Type@Platform@@Q$AAAP$AAVString@3@XZ"); pCreateValue = (void *)GetProcAddress(hmod, "?CreateValue@Details@Platform@@YAP$AAVObject@2@W4TypeCode@2@PBX@Z");
- p__RTtypeid = (void *)GetProcAddress(msvcrt, "__RTtypeid");
Please move `p__RTtypeid` initialization out of architecture specific cases - function uses the same name on all architectures.