Displaying 3 results from an estimated 3 matches for "messageboxb".
Did you mean:
messageboxa
2015 Aug 13
2
[lld] Alias in COFF short import library.
...It works fine with lld for actual symbols.
But it seems lld segfaults when I try to use and an alias as we discussed
before.
I have attached 3 import libraries.
They all only have 1 import function.
libuser32orig.a -> Works fine and only has MessageBoxA
libuser32b.a -> the symbol table has MessageBoxB and __imp_MessageBoxB but
the Import object has MessageBoxA.user32.dll.
This causes a segfault in lld but should link correctly right ?
Additionally I have attached libuser32.a
This is the same as libuser32b.a but the symbol table has MessageBoxA and
__imp_MessageBoxB rather then MessageBoxB and...
2015 Aug 13
2
[lld] Alias in COFF short import library.
>
> The header of libuser32b.a says that it defines MessageBoxB and
> __imp_MessageBoxB, but the import library file in the archive actually
> defines MessageBoxA (not B). So the archive file is broken. You may want to
> fix the header and try again.
Yes this is how I done the alias.
If you consider this invalid then look at libuser32.a
The header de...
2015 Aug 13
2
[lld] Alias in COFF short import library.
...ok a member of oldnames.lib (which comes with MSVC). That library file
> defines bunch of aliases, and you can do the same thing.
>
> On Thu, Aug 13, 2015 at 2:25 PM, Martell Malone <martellmalone at gmail.com>
> wrote:
>
>> The header of libuser32b.a says that it defines MessageBoxB and
>>> __imp_MessageBoxB, but the import library file in the archive actually
>>> defines MessageBoxA (not B). So the archive file is broken. You may want to
>>> fix the header and try again.
>>
>> Yes this is how I done the alias.
>>
>> If you co...