Path: news.mathworks.com!not-for-mail
From: "Villamide Bego" <bvillamide@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matlab and visual basic  6
Date: Tue, 20 May 2008 16:56:02 +0000 (UTC)
Organization: BBVA Gesti&#243;n
Lines: 43
Message-ID: <g0uvr2$gvg$1@fred.mathworks.com>
References: <fqlh7r$r16$1@fred.mathworks.com>
Reply-To: "Villamide Bego" <bvillamide@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1211302562 17392 172.30.248.37 (20 May 2008 16:56:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 20 May 2008 16:56:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 620618
Xref: news.mathworks.com comp.soft-sys.matlab:469516


Hello Ahmed,

I have a similar problem as yours. I have a project 
written on Matlab 7 R14 sp3. I use the comtool with C++ 
compiler version 6.0. This project is divided into 5 
subprojects, i.e., many functions grouped in 5 dlls. My 
problem appears when i use two functions from different 
dlls, one gives an error while the other runs ok.

did you finally find the solution to your problem?

thanks in advance.

Bego?a.





"Ahmed " <mogwari2000@yahoo.com> wrote in message 
<fqlh7r$r16$1@fred.mathworks.com>...
> hello
> 
> i write m file function in matlab (version 7 sp14) for 
> summing two variables. i test this function in matlab 
and 
> working very good without errors. i make a dll file 
using 
> comtool in matlab to call this function in visual basic 
> version 6. also i tested in visual basic 6 and working 
> good. 
> 
> my problem is this function in visual basic working good 
> in the first time. so when i close my project and open 
it 
> again this function send to me error and not give me the 
> result. also in the second time when loading the file 
> visual basic make a beep 
> 
> i don't know wat is the problem
> 
>