Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29329 Discussions

Fortran DLL within a Windows Service written in C#

matthew_hetzel
Beginner
891 Views
Hello all,

I am putting together a windows service written in c# (VS.NET 2003) that calls some functions written in a fortran dll (IVF 8.1). I am able to attach the MS debugger to the service process and trace into the fortran code successfully, but it hangs when I hit the READ statement:

OPEN (FILE=TRIM(FILENAME), UNIT=IDEV, SHARED, STATUS='OLD')
READ(IDEV,'(A)') TEXTSTR

The OPEN happens ok and the file exists.
Any ideas? (Anybody else writing services in fortran? LOL)

Matt
0 Kudos
1 Reply
matthew_hetzel
Beginner
891 Views
Ok,

Never mind..... My own stupidity. Its amazing what you can see with a good nights sleep.

Matt
0 Kudos
Reply