LoadLibrary on OCX file fails in Windows 7 x64

前端 未结 3 633
别跟我提以往
别跟我提以往 2021-01-27 12:00

I need to open a html help file from within a legacy windows application written in old version of C++ Builder. HtmlHelp is loaded via HtmlHelp.ocx, which I am loading via LoadL

3条回答
  •  无人共我
    2021-01-27 12:11

    Use ExpandEnvironmentStrings function to expand %SystemRoot%\System32\hhctrl.ocx to real path on user's intallation. 64bit OS will redirect expanded path to 32bit dll correctly.

提交回复
热议问题