vb.net fortran dll

vb.net fortran dll

I am trying to get a project I had running in vb6 running in vb.net
I am having trouble with the arrays because of the changes in vb.net
If I define my array as starting at a(0,0) instead of a(1,1), and I pass the array as a(0,0) into the fortran dll, will it interpret the array as a(1,1) in the
fortran dll?
Thanks for any comments on this
J george

5 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

The first question should be,
Can I even call the dll created in visual fortran
in vb.net?
JHG

If you can call a DLL written in C, you can call a DLL written in Fortran.

Steve

Steve - Intel Developer Support

The reason for my question is that I am reading that vb is doing the
memory different in vb.net than in vb6. For example, you cannot declare
the lower array limit, and the memory may not be alocated sequentially as
is done in fortran and vb6. I hope you are right, what is the big push to get
Visual fortran in .net, and when should it be ready?
I assume you are saying it is ok to run a VF dll in vb.net, are there any examples?

The nice thing about DLLs is that they are the most compatible thing you can call. However, you have to get the argument passing right. We haven't looked at all at VB.NET to see what, if anything, it does differently from VB6.

I am sure that VB can call all manner of DLLs - you just need to figure out how to express it properly.

Steve

Steve - Intel Developer Support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui