- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use C# call fortran,here is my fortran sub program
module modall
use,intrinsic :: iso_c_binding
type,bind(c) :: input
real(c_float) :: x(3)
real(c_float) :: y(3)
end type
type(input),bind(c,name="input") :: ip
!DEC$ ATTRIBUTES DLLEXPORT:: ip
end module
This subroutine worked and I can interop with c#.However i got a waning message LINK : warning LNK4217: symbol 'input' defined in 'modall.obj' is imported by 'step.obj' in function 'step'
Is there anything wrong ? Thanks!
Link Copied
0 Replies

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