Without --kill-at the name in the .dlls export section will include the @.. stuff, so user32.dll would export MessageBoxW@16 instead of MessageBoxW. This will make apps expecting to find MessageBoxW very unhappy.
Ge van Geldorp.
-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Casper Hornstrup Sent: Monday, September 27, 2004 19:33 To: 'ReactOS Development List' Subject: RE: [ros-dev] Problem looking up mangled names
Is --kill-at even needed?
-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of d_layer Sent: 27. september 2004 09:48 To: ReactOS Development List Subject: Re: [ros-dev] Problem looking up mangled names
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.
-- d_layer
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev