help for debug the fortran subroutine in VB 
Author Message
 help for debug the fortran subroutine in VB

I am trying to call one fortran Subroutine from VB.

Here is the Fortran Subroutine:

    subroutine readInitCases_F()

     common /FILENAMES/ FNAMES

          DO 12 I = 1,5
             READ (89,*) FNAMES(I)
    12    CONTINUE
          CLOSE (89)


And I also made one wrapper for this Fortran Subtine:

    subroutine readDesignCases(index)
    !DEC$ ATTRIBUTES DLLEXPORT:: readdesigncases

    REAL,INTENT(OUT) :: index


    call  readDesignCases_F()
    index = real(NUMOFCASES)


And I called this wrapper in VB.


But the problem is when I debug, it's seems it didn't call this Fortran
Subroutine. But actually I called this subroutine in another VB program,
it's works. SO is there anybody can give me some advice?

Thanks a lot!

Sat, 23 Aug 2003 06:06:48 GMT  
 [ 1 post ] 

 Relevant Pages 

1. How to debug Fortran Subroutine from VB

2. Help for call Fortran Subroutine in VB

3. Can VB call Fortran subroutine in *.obj file?

4. problem to call fortran subroutine in VB

5. How to debug a Fortran DLL under VB enviroment

6. How to include fortran subroutine in Qb quick libraries

7. How to call fortran subroutine in QB

8. FORTRAN subroutines in Visual Basic

9. Help! converting QB45 subroutine to VB6 subroutine

10. Help needed to read a Fortran binary file in VB or VB.NET

11. Help: FORTRAN exe won't run in VB

12. Help: Calling Fortran-DLL with VB 4.0


Powered by phpBB® Forum Software