Error using loadlibrary; side-by-side configuration is incorrect

Hi Folks:
I am running MATLAB 2011b x64 to load a third party dll built in VC++ 2008 with debug x64 option. But I got error message as following:
Caused by: Error using loaddefinedlibrary The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
I am not sure what is the cause of this problem. I have added msvcr90.dll and msvrp90.dll to C:/Windows/System32;
Anyone has any thoughts? I got stuck on this for almost a day, and tried many ways, so any of your thoughts is highly appreciated. Thanks.
Nick

1 件のコメント

Walter Roberson
Walter Roberson 2012 年 9 月 26 日
Please use commas to separate tags, rather than semi-colons. (I have adjusted the ones you entered.)

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

 採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 9 月 26 日

0 投票

It looks like that third-party DLL may be missing some dependencies. What about if you try with the sxstrace.exe tool - does it tell you anything about missing library dependencies? Perhaps the paths to some dependencies are not on the System PATH?

その他の回答 (1 件)

Nick Tsui
Nick Tsui 2012 年 9 月 26 日

0 投票

You are right, one of the DLLs is missing. Thanks!

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by