29 Sep
2025
29 Sep
'25
11:07 a.m.
Piotr Caban (@piotr) commented about dlls/vccorlib140/tests/vccorlib.c:
p_platform_type_ToString = (void *)GetProcAddress(hmod, "?ToString(a)Type@Platform@@U$AAAP$AAVString(a)2@XZ"); p_platform_type_get_FullName = (void *)GetProcAddress(hmod, "?get(a)FullName@Type(a)Platform@@Q$AAAP$AAVString(a)3@XZ"); pCreateValue = (void *)GetProcAddress(hmod, "?CreateValue(a)Details@Platform@@YAP$AAVObject(a)2@W4TypeCode(a)2@PBX(a)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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9053#note_117003