Loading a dll from a dll?

后端 未结 4 847
情深已故
情深已故 2020-12-02 11:36

What\'s the best way for loading a dll from a dll ?

My problem is I can\'t load a dll on process_attach, and I cannot load the dll from the main program, because I d

4条回答
  •  庸人自扰
    2020-12-02 12:07

    I suggest you to use delay-loading mechanism. The DLL will be loaded at the fisrt time you call imported function. Moreover you can modify load function and error handling. See Linker Support for Delay-Loaded DLLs for more info.

提交回复
热议问题