Creating C++ library and trying it (calling mclInitializeApplication func) results in crash
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Horst Steuer
el 20 de Nov. de 2017
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.
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Compiler SDK en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!