search for: __imp_bar

Displaying 2 results from an estimated 2 matches for "__imp_bar".

2015 Aug 13
2
[lld] Alias in COFF short import library.
> > If you want to define an alias symbol "bar" to "foo" (which is an > extension you want to provide), one way is to create an object file that > defines "bar" and "__imp_bar" as aliases to "foo" and "__imp_foo", > respectively, and add that object file to the import library. As a result, > the import library file defines four symbols, {,__imp_}{foo,bar}. > > Do you know how to define symbol aliases in COFF? If you don't, take a...
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 defines MessageBoxA and