External dll in Matlab works fine on Windows 7 build 7601 and do not work on Windows 7 build 7600 ?!

I have created a DLL with MSVS 2008 compiler. It can be loaded to Matlab and works fine on Windows 7 Build 7601 SP1. It was tested on Matlab 2011b and Matlab 2009b with excellent result. It even works fine without compiler (with precreated prototype file). But I cannot force it to work on Windows 7 Build 7600 SP1, Matlab 2009b (this is the only difference I can find, build 7600 instead of 7601). The DLL itself works fine on this host too. How can I solve this problem?
Here is screenshot with Matlab response: http://img840.imageshack.us/img840/3334/matresp.png

2 件のコメント

Please specify the exact error message that you receive.
Alexander
Alexander 2012 年 3 月 30 日
I've added a screenshot. Thank you.

サインインしてコメントする。

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 3 月 30 日
Looks like you are getting a SegV - this could be due to a bug in your DLL code. I would recommend debugging your DLL using Visual Studio (attach MATLAB as a process to the Visual Studio debugger and run your MATLAB code that calls into the DLL) and find the line that the SegV occurs at.

1 件のコメント

Alexander
Alexander 2012 年 3 月 30 日
Thank you. I will try. Unfortunately I can't reproduce this error on my working host.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

製品

質問済み:

2012 年 3 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by