LoadLibrary() error code 127

后端 未结 9 2241
無奈伤痛
無奈伤痛 2020-12-29 05:07

I\'m having trouble with LoadLibrary() and getting an error that doesn\'t make sense to me:

   ::SetLastError(0);

   m_hDll = ::LoadLibrary(szName);

   if          


        
9条回答
  •  感情败类
    2020-12-29 06:11

    I was getting the same error code after calling LoadLibrary(). Finally found through dependency walker that some dependencies of module (szName) were missing.

提交回复
热议问题