Errors loading dll's

Hey, i'm using the "loadlibrary" command within a larger function in order to load dlls, and i'm getting the following errors:
"Invalid access to memory location" and
"(path) is not a valid win32 app"
Which of these errors i'm getting depends on the location of the dlls, without a consistent pattern to it. I checked online and understood that the second error may be caused by using a 64bit version of matlab, but I checked using 'computer' and 'computer('arch')' and I am using a 32bit version (7.6.0 - R2008a). I even tried adding an exception for matlab in EDP in the control panel, but to no avail. The larger function works properly on my laptop with a previous matlab version (2007 if im not mistaken), so it may be because of my os, which is windows server 2012. I am clueless and need help as soon as possible. Thanks in advance, Daniel.

1 个评论

Getting the exact same error "Invalid access to memory location" when attempting to load a dll. I was wondering if you were able to solve this by any chance.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by