Steven Edwards wrote:
Hello, I have been trying to test Firefox and OpenOffice under ReactOS and it seems to be having trouble looking up mangled names in msvcrt. Firefox fails like this
(NTDLL:ldr/utils.c:1205) LdrGetExportByName(): failed to find ??3@YAXPAX@Z
and OpenOffice fails to find this name ??1type_info@@UAE@XZ
Both of them are implemented and point to code I imported from Wine a long time ago. Anyone have any idea whats up?
These exported names are truncated by --kill-at flag of dlltool. Attached patch should fix the problem.
[ChangeLog] * tools/helper.mk (TARGET_MANGLED): New variable. * lib/coredll/Makefile: Export mangled names from dll. * lib/crtdll/makefile: Ditto. * lib/msvcrt/Makefile: Ditto. * lib/msvcrt20/Makefile: Ditto.