开发者

ACE_DLL::open failed for some dll file

开发者 https://www.devze.com 2023-02-01 15:36 出处:网络
I am quite puzzled by this e开发者_开发问答rror. The complete error information is as below. ACE_DLL::open failed for TestFE.dll: Error: check log for details.

I am quite puzzled by this e开发者_开发问答rror. The complete error information is as below.

ACE_DLL::open failed for TestFE.dll: Error: check log for details. Unable to find service: MySvc

But if I take another TestBE.dll, it can be started successfully.

BTW: there is no missing dependent dll file for TestFE.dll. The PATH in Windows is correct to locate the TestFE.dll. I try to compare the project build options between TestBE.dll and TestFE.dll but with no findings.

Can anybody here help me figure out the reason? Thank you.


I spend 7 working days to find out the reason. It is because two different versions of dependent dll files exist. During compilation time I can compile it with one version, but during runtime it loads another version. The DEPENDS.exe searches for the dependent dll file version that the compilation time takes, while ACE searches the version are the runtime version. So you will see no dependent dll file is lost. But in runtime, ACE always gets the wrong dll files so that it fails to load dlls.

0

精彩评论

暂无评论...
验证码 换一张
取 消