PSS ID Number: 149516
Article Last Modified on 10/15/2002
{,,TheDll.dll}i
This fails with "EE2347: Undefined variable"
{,,TheDll.dll}TheBlock
This fails with "Invalid Debug Information"
C Compile options needed: /MW /Zi
C TheApp.for (QuickWin app)
program TheApp
integer i, j
common /TheBlock/ i, j
!ms$attributes dllimport :: TheBlock
call initcommon()
print *, i, j
end
C Compile options needed: /LD /Zi
C TheDll.for (DLL for TheApp)
subroutine initcommon()
!ms$attributes dllexport :: initcommon
integer i, j
common /TheBlock/ i, j
!ms$attributes dllexport :: TheBlock
i = 5
j = 7
end
Additional query words: 4.00
Keywords: kbBug kbDebug kbide KB149516
Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8