Creating C++ library and trying it (calling mclInitializeApplication func) results in crash
조회 수: 6 (최근 30일)
이전 댓글 표시
Under Windows 10, I have created a c++ library out of a .m file, using Matlab (R2016a) compiler (SDK7.1). I use it in c++ code, written using (QtCreator) MSVC2015 64 bit compiler. Linked dynamically.
Initially I call mclInitializeApplication(NULL, 0) and the app crashes. I get: Exception at 0x7ffe60c17788, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in mcr!mnShutdownMCR
Any idea?
댓글 수: 1
Horst Steuer
2017년 11월 20일
Does it crash in mclInitializeApplication(NULL, 0) or perhaps in "yourlibInitialize()" ? If so, my answer in https://uk.mathworks.com/matlabcentral/answers/286624-matlab-c-shared-dll-library-initialization-problem might be helpful.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!