Unable to load DLL dependency: KERNEL32.d​ll.GetHand​leInformat​ion

15 ビュー (過去 30 日間)
jianshen li
jianshen li 2021 年 3 月 4 日
コメント済み: Thmele 2023 年 6 月 13 日
When I deploy my model on my Target PC, I receive following error:
Unable to load DLL dependency: KERNEL32.dll.GetHandleInformation
Loading H:\private\CFDL.dlm failed with error 127
Error: Could not load model H:\private\CFDL:127
I have modified the SDK version with reference to similar problems in the forum:https://www.mathworks.com/support/bugreports/details/1890172
,but it has not solved my problem. I want to know what causes this problem and how can I solve it.
In addition, my model uses the. Lib library compiled from Fortran. Does this have any impact?
Thankyou very much
Visual Studio 2017 15.0; MATLAB R2018;
  1 件のコメント
Dimitri MANKOV
Dimitri MANKOV 2021 年 3 月 10 日
Hi Jianshen,
Have you tried checking whether the SDK is still present in the list of installed programs on your host PC (Windows Control Panel > Programs and Features > Windows Software Development Kit)? Sometimes, Windows SDKs get installed with other programs, so they may remain installed on your system even if you modify the Visual Studio installation options.
Please note as well that the error message you see is different from the one indicated in the bug report you reference, so changing the SDK version is not guaranteed to solve the issue.
Best,
Dimitri

サインインしてコメントする。

回答 (2 件)

Jiajun Ma
Jiajun Ma 2021 年 3 月 19 日
兄弟,你解决了吗?我也是同一个问题,头大。
  3 件のコメント
he tonghai
he tonghai 2022 年 7 月 25 日
我的也没有解决。
Thmele
Thmele 2023 年 6 月 13 日
夸年度的回答问题 哈哈

サインインしてコメントする。


Jiajun Ma
Jiajun Ma 2021 年 4 月 6 日
Hi guys.
I solved my issue, maybe that can help.
Previously, the .lib file handed to me by other team was compiled with an Error Setting in VS.
They select .dll instead of .lib before the compiling process.
But somehow the .lib was also generated, but it turns out to be useless.
After changing the settings in VS, this issue was solved.
  1 件のコメント
Thmele
Thmele 2023 年 6 月 13 日
能不能仔细说说兄弟,请留下联系方式

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by