MATLAB: Shared libraries created in Matlab 2011a can’t be initialized in Windows 8 but works fine in 7

MATLAB Compilermatlab dllshared librarywindows 8

I'm facing an issue with a dll created from Matlab 2011a using MSVC++ 2010 compiler. The libABCInitialize() function works fine when the application is running in Windows7 but in Windows 8, this causes an access violation exception in m_interpreter.dll.
Any pointers to fixing this issue is greatly appreciated.

Best Answer

As per the link below, MATLAB 2011a has been tested only up to Windows 7 so it is expected for dlls created from R2011a not to work properly on Windows 8.
The only way to fix this will be to recompile the dll again using R2012a and later versions. The link below shows a platform support roadmap for different Windows versions.