Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 Discussions

Passing strings from VB.NET to Fortan

vpanote
Beginner
540 Views
Can someone tell me why passing more than one string from VB.NET code to Fortran code the second string and above are not passed and cannot be read into Fortran code? Only the first one is read perfect. I note here that I pass every string's length just after each string by value and of course I have set suitable compiler option to that choice.
0 Kudos
1 Reply
vpanote
Beginner
540 Views
Iresolved the problem by myself and it was really very simple. The argument type for string's length was long while an integer was needed, so when I changed it all worked perfect. I apologize for someone's possible losttime for this simple bug in my code.
0 Kudos
Reply