- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi All,
I'm learning how to create a Fortran DLL that's callable from C. I use the example at www.compaq.com/fortran/examples/vc-example1.html
The example won't compile. There's an error in the following line:
WRITE(INT_STR,'(15.5)')INT_ARG
The error is:
Error. A dot [.] is invalid in a format list in this context.
Any advice will be very much appreciated.
Thanks,
Lance
I'm learning how to create a Fortran DLL that's callable from C. I use the example at www.compaq.com/fortran/examples/vc-example1.html
The example won't compile. There's an error in the following line:
WRITE(INT_STR,'(15.5)')INT_ARG
The error is:
Error. A dot [.] is invalid in a format list in this context.
Any advice will be very much appreciated.
Thanks,
Lance
링크가 복사됨
4 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
You mis-typed the FORMAT - that's I5.5, not 15.5. I recognize that it's a bit hard to tell the difference on the web page.
Steve
Steve
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks Steve,
I tried your correction. I also tried '(A)'. The project builds. However, when I attempt to run the executable, I receive:
The dynamic link library DFORRTD.DLL could not be found in the specified path.
Any suggestions?
Thanks,
Lance
I tried your correction. I also tried '(A)'. The project builds. However, when I attempt to run the executable, I receive:
The dynamic link library DFORRTD.DLL could not be found in the specified path.
Any suggestions?
Thanks,
Lance
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I'll bet you're running the DLL on a system that doesn't have CVF installed. Build the DLL in a "release configuration", and install the CVF run-time redistributables package on the other system. (If you don't build a release configuration, you'll get the same error, as the debug RTLs are not redistributable.)
Steve
Steve