diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-04-27 15:34:21 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-04-27 15:34:21 (GMT) |
commit | f1ee96c635443f4aff2cf57dbadec529ca06d332 (patch) | |
tree | 0698369ba803027c206f28c3f1c116cfa806170f /src/script/api/qscriptengine.cpp | |
parent | 72590485ab9bbc0c689df535cb0658b5d0d63288 (diff) | |
download | Qt-f1ee96c635443f4aff2cf57dbadec529ca06d332.zip Qt-f1ee96c635443f4aff2cf57dbadec529ca06d332.tar.gz Qt-f1ee96c635443f4aff2cf57dbadec529ca06d332.tar.bz2 |
Unable to load plugin DLLs compiled with the '/clr' option
Before loading the plugins, to make sure we are loading a valid one,
we call qt_plugin_query_verification_data() and verify the version
information. The DLLS built with '/clr' compiler flag, needs full
initialization before a function can be called.
With a prior patch, as an optimaization we had changed LoadLibrary()
to LoadLibraryEx(), this will not initialize or load the dependencies,
so it crashed when calling that function. Now this exception is
caught and LoadLibrary(equivalent) is called.
Task-number: QTBUG-10012
Reviewed-by: Jan-Arve
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions