c++ - Is it possible on windows to prevent other applications hooking in system DLLs -


i desperately looking cause of crashes in qt-based application.

after observation i've detected, alone opening qfiledialog, standard windows file dialog, without selecting file, causes application crash after minutes. doesn't happen on machines.

i've opened application in dependency walker , profiling revealed, opening of file dialog loads tons of dlls, don't need in application - tools hooked in windows shell. among others - tortoisesvn, makes depends freeze.

is possible in application context prevent other dlls codecs or shell-hooks loaded?

is @ least possible create qfiledialog without loading tool hooked in windows?

enter image description here

this possible, it's not trivial. have insert api hook on loadlibrary (and/or native api equivalent.) when hook called, can examine dll filename , decide whether want pass along real loadlibrary or return error.

a couple places find more info on api hooks:

now of said, specific situation may better off changing tortoisesvn settings. if set include/exclude paths in tortoise @ directories on computer contain svn repos, bet freeze go away long avoid directories.


Popular posts from this blog