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

interface with C#

martymike
Novice
358 Views
we have a C# application that needs to call Fortran functionsto retrieve data. We seem to be having problems with string data. Unfortunately it seems intermittent. We are continuing to investigate, but, does anyone have any experience and/or suggestions about this?
0 Kudos
2 Replies
onkelhotte
New Contributor II
358 Views
On the C# Side you have to use StringBuilder and not string.

Steve Lionel provided a sample project once. Ive attached it here.

Markus
0 Kudos
martymike
Novice
358 Views

We were using StringBuilder, but the project was helpful. We seem to have resolved our issues. Thank you very much.

0 Kudos
Reply