From: Jacob on
Heya,

I just made a program that consists of 4 m-files. It takes in a txt-file as input and output is another txt-file and some arrays. This big of program needs to be build into a larger program thats being written in visual basic. The programmer I'm working with told me he just needed a dll-file, and then he could call that in his bit of the program. I used the .Net deployment tool, but the dll-files doesn't seem to work. How do I make a dll-file that can be called from another program without problems?

I tried building my code with .net deployment tool, and then take out the dll-files. Then we get warnings about an MWarray and we got errors about 'managedcppapi' or something like that.

I have NO personal experience with programmen in other environments than MATLAB. Any help will be much appreciated.

Last thing, which might be very important. I'm running MATLAB R2009A 64-bit and the final program that is being written, needs to be 32-bit. Is this cause for concern?

Jacob
From: Jacob on
"Jacob " <jacob(a)collstrup.dk> wrote in message <hcttim$1tv$1(a)fred.mathworks.com>...
> Heya,
>
> I just made a program that consists of 4 m-files. It takes in a txt-file as input and output is another txt-file and some arrays. This big of program needs to be build into a larger program thats being written in visual basic. The programmer I'm working with told me he just needed a dll-file, and then he could call that in his bit of the program. I used the .Net deployment tool, but the dll-files doesn't seem to work. How do I make a dll-file that can be called from another program without problems?
>
> I tried building my code with .net deployment tool, and then take out the dll-files. Then we get warnings about an MWarray and we got errors about 'managedcppapi' or something like that.
>
> I have NO personal experience with programmen in other environments than MATLAB. Any help will be much appreciated.
>
> Last thing, which might be very important. I'm running MATLAB R2009A 64-bit and the final program that is being written, needs to be 32-bit. Is this cause for concern?
>
> Jacob


Doesn't anyone have any suggestions I can try?