我正在参加一个过程:COMCTL32.DL
两次装载,一次装上5.82.7601.17514版本,一次装上6.10.7601.17514版本。 遗产版本由一些遗留下来的DLL组成,该方案与新的DLLL联系,而另一个版本则由新的DLL组成。
If I use GetModuleHandle (L"COMCTL32.DLL")
I have no control over the DLL which gets resolved.
When I call GetProcAddress
to reach, for instance, TaskDialogIndirect
, I get a null pointer back, which is certainly because I got back the handle of the legacy DLL.
因此,有某种手段去读到TaskDialogIndirect
的地址。 这两辆DLLL车都装载。
If not, can I somehow make sure that the process loads the 6.10 version and not the 5.82, in the hope that our legacy DLL will work fine with the newer version of COMCTL32
?