I have recently installed the latest version of the compiler (v5.40) on a 32 bit Vista machine and am experiencing a problem (in just one respect) with unedited programs that worked fine with V5.2.
The programs compiled under 5.21 give the runtime error detailed below when run using the latest salflibc.dll
The programs give the same error when compiled and run under v5.4 with (obviously) the latest salflibc.dll.
AS AN ADDITIONAL POINT:
- Programs compiled with the latest compiler and then run using the v5.21 salflibc.dll work fine.
The code involved loads a hypertext help window - this works fine - but when the window is closed the error reported below results.
Whilst I could spend time getting a somewhat smaller test program together it may be obvious that there is a basic error on my part or otherwise??
The Help routine called:
c Function for HELP c integer*4 function help_func() INCLUDE <WINDOWS.INS>
external exithelp_func
integer*4 exithelp_func
integer*4 ii,iconforh
character*12 bookmark
common /bookit/ bookmark
c bookmark = 'HELPPMPRINT' c ii = winio@('%`bg[white]%ww[]&') ii = winio@('%ww[no_maxbox]%pv%mn[Exit Help]%80.20ht@%lw[owned]', 1 exithelp_func, bookmark, iconforh)
help_func = 1L
end
c integer*4 function exithelp_func() exithelp_func = 0L end c
On closing the window using Exit Help:
Access Violation
Instruction at address 00000000 attempted to read from location 00000000
Salford Exception Handler Failure to register registers dialog procedure Information will appear in a simple message box
Any assistance would be appreciated
Many Thanks
Bill