I’m developing dll that uses libcurl. After adding libcurl.dll and libidn-11.dll to dependences I get libcurl.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x308.
PS: I’m using MSVS 2010
PPS: I’d successfully compiled that dll with mingw compiler, no problems were thrown there.
Thank you in advance!
Is there a
libcurl.libto accompanylibcurl.dll? You’re meant to link with thelibfile, not thedlldirectly.