[Interest] Is it possible to override dll in runtime in Qt?
Thiago Macieira
thiago.macieira at intel.com
Wed Apr 9 07:18:48 CEST 2014
Em qua 09 abr 2014, às 05:04:27, Vincent Cai escreveu:
> Dear All,
>
> I have an Qt application, which uses 2 dll, one is Prmt.dll and the other is
> Core.dll. Core.dll is dependent on Prmt.dll. Prmt.dll has multiple
> instances in different folders, for example: A/Prmt.dll, B/Prmt.dll... The
> Qt application provides an option to choose Prmt.dll, so it need to
> override Prmt.dll in runtime. Is it possible to override dll in runtime in
> Qt?
LoadLibrary the DLL that you want before you load any DLLs that depend on it.
And cross your fingers. We're talking about Windows.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list