Can I load DLL compiled with unsupported C++ compiler?

The version of matlab (2012a) doesnt support the compiler used (which is intel c++ 13.0) that creating the DLL.
If a supported compiler, like these found in MS windows SDK 7.1, is installed, will the DLL still work flawlessly through Matlab's loadlibrary()?

Answers (1)

James Tursa
James Tursa on 16 Nov 2012
Edited: James Tursa on 16 Nov 2012
You will need to ensure that any other dependencies of the dll (e.g., libraries) are installed on your system and available to the dll. Also, I think loadlibrary uses the lcc compiler which is a C (not a C++) compiler. So if you have C++ stuff in your header file it will not work.

Categories

Products

Asked:

on 16 Nov 2012

Community Treasure Hunt

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

Start Hunting!