windows - Dependency Walker parent import function list shows functions from a different lib -


i trying include external library (.lib pointing .dll) in project. building on windows using qt (it appears using msvc2010 compiler) , have: libs += <path>/<libraryname>.lib in .pro file. have corresponding .dll file in directory executable output can found. when program run following qt:

starting (program name)... program has unexpectedly finished. (program name) exited code -1073741515
searching around seems type of error can come .dll files being different in way expect, seems @ least partially problem here. when open program dependency walker can see .dll file found , functions in correct far can tell. in parent import function pane functions not agree or correct (i think why getting error). these function definitions match functions external library using.

to me indicates somehow .lib file incorrect, have used pair of .lib/.dll files before in different program (not built in qt) , worked fine. have tried removing reference .lib file .pro file , correct functions calls complain (the ones library defined in .dll file found). .lib file looks how expect using dumpbin.exe /exports view content.

any thoughts on dependency walker trying tell me or should trying awesome.

edit 2/8: have constructed minimal example. stops same error in dependency walker instead of showing functions library shows no expected functions.

looking @ explanation given minimal example seem happening here there no mingw function calls library (they msvc calls). functions found in libraries listed correctly because are, not being linked form other compiler. why different libraries functions showing up, guess bug in dependency walker.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -