- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are Fortran DLLs built which allow string trafficback and forthwith VB6, VS2005, C, C# and Fortran ?
Is there one simple way to accomodate any caller ?
Thanks,
Cliff Phares
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're willing to have the caller do what is necessary to pass the string in a way Fortran will understand, then the default works fine - declare the argument as CHARACTER(*). This means passing the length by value at the end of the argument list.
If you want the caller to just pass what all those languages think of as a string, then no.
If you want the caller to just pass what all those languages think of as a string, then no.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page