Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

C# cannot load Dll generated by compiling coder generated C code by Visual Studio project

조회 수: 1 (최근 30일)
Hi all,
I can call the coder generated DLL from C# successfully. But I am trying to generate Dll by creating C++ visual studio project. The compiler run without error. But when calling it from C#, C# report "cannot load dll. Could not find module. HRESULT:0x8007007E".
My steps for creating VS project is: 1. Create an "Empty project" under Visual C++. 2. Change output type to "dynamic library(.Dll)" 3. Drag all .c and .h files into solution explorer. 4. Build.
Regards,
Jerry
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2012년 7월 9일
How are you generating the code? There are several MathWorks products which can generate a DLL - is this MATLAB Compiler, MATLAB Coder or Simulink Coder?

답변 (0개)

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by