On Sat, May 7, 2011 at 10:36 PM, Jonas noLastName
> I have found an incompatibility in 'mingw-w64-crt'.
> "#define __ImageBase __MINGW_LSYMBOL(_image_base__)"
> This line, that exists in several files, will make any libraries compiled
> with mingw64 incompatible when being used in visual studio projects.
> 1. Compile a library in mingw64, creating a .lib file
> 2. Use that lib in a visual studio project ( 64-bit exe file)
> Visual studio will report this:
> "MPCVideoDec.lib(lib64_libmingwex_a-delayimp.o) : error LNK2019: unresolved
> external symbol __image_base__ referenced in function __delayLoadHelper2"
> Commenting out this line in all placed will make it work with visual studio
> I have not tested what this change will to gcc compiled exe projects since i
> do not have any to test.
> Could you take a look at this and perhaps make a proper fix for it, please ?
Can you tell us which mingw64 compiler you used?