and here is my second question today.
I like to call a VB.NET by Fortran. But I don't know how. I don't understand how t call a object-oriented language by Fortran.
It would have to be a native mode DLL, in which case you would call it just the same as any other DLL. You would have to make sure you have the naming and calling conventions right (STDCALL on IA-32), and a lot of VB argument types won't map to Fortran in that direction.
What exactly are you trying to do here? Show the declaration of a VB routine you want to call.
.NetInput(i) = CStr(i * 10.1) Next a = .NetEvalF ... For i = 1 To .OutputCount a = 1 To .NetOutput(i) --- Next .... But I need to do that in Fortran or if necessary in C++ Regards Olaf
thank you for your answer.
That interface is all I have.
I couldt write an interface routine between the vb.net dll and fortran, I would say in VB.NET. But I don't know how.
That's not an interface. The declaration of the routine is somewhere else. My guess, though, is that the routine is VB.NET specific and doesn't support calls from other languages. You can try calling into a VB routine you write that then calls this other routine.