PSS ID Number: 112010
Article Last Modified on 5/4/2001
c MAIN Source Code
c Compile options required: none
c Linker options required: include the import library for the DLL.
c
interface to subroutine bar[dllimport]()
end
common /bridge[dllimport]/ i
integer*4 i(4)
open(3,file='main.inp')
read(3,*) i(1)
close(3)
call bar
end
c DLL Source Code
c Compile options required: /LD
c
subroutine bar[dllexport]()
common /bridge[dllexport]/ i
integer*4 i(4)
write(*,*) 'In DLL:'
return
end
Contents of main.inp:
1
Additional query words: 1.00 Dr. Watson imported buglist1.00
Keywords: kbbug KB112010
Technology: kbAudDeveloper kbFORTRANPower32100NT kbFortranSearch kbZNotKeyword2