[ros-bugs] [Bug 7030] PATCH: oldnames msvc amd64 fix

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Apr 29 20:10:30 UTC 2012


http://www.reactos.org/bugzilla/show_bug.cgi?id=7030


ThePhysicist <timo.kreuzer at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from ThePhysicist <timo.kreuzer at web.de>  2012-04-29 20:10:30 CET ---
ok, now I see what you mean.
There are some problems though:
1.) WDK doesn't have a lib tool.
2.) the import lib generated this way, will not do what it is supposed to do.
Forwarders are implemented on the dll side only. An import lib doesn't handle
that. It will assume that for example the function access should be imported
from msvcrt.dll. the forwarding to _access is only implemented in the
msvcrt-exp file, causing the dll to have the appropriate forwarding.
the libtool from binutils accepts a special format "access==_access", which
will be handled in the correct way, creating an import lib that has a "access"
symbol, but importing it from _access. I don't think that MS lib even supports
that. At least link.exe does not.
I have now implemented a method that works on MSVC by using an asm file with
ALIASes. That should fix your problem.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list