I use FTN95 extensively for engineering numerical analysis, but have not used ClearWin since developing a rather simple graphics program in 2009. In that respect, I am a novice in the extreme.
The following code to create a window still worked okay when compiled with Salflibc.dll (29 April 2019), but that executable failed when run with Salflibc.dll (3 Nov 2019). I recompiled with the new Salflibc, but this also fails.
RESULT = WINIO@('%CA@&',WINDOWH) ! RESULT = WINIO@('%SY[3D]&') ! RESULT = WINIO@('%ww[no_border]&') ! RESULT = WINIO@('%es&') ! RESULT = WINIO@('%WW%PV&') ! RESULT = WINIO@('%sp&',50L,10L) ! ! User- options on the menu line (triggering Call-back functions): ! RES2 = WINIO@('%mn[&File[&Print,|,&BMP file,|,&PCX file,|,E&xit]]&', & & DESKJ,BMP_FILE,PCX_FILE,'EXIT') ! RES2 = WINIO@('%mn[&Back,&Next]&',back,next) ! RES2 = WINIO@('%mn[&Help[&About GraphTun]]&',ABOUT) ! RES2 = WINIO@('%`GR[GREY,METAFILE_RESIZE]&', NXPIXEL,NYPIXEL,HANDSCRN) ! RESULT = WINIO@('%LW', IWIN1) ! RETURN
Each WINIO@ instruction before the last returns the result -1. Then the %LW instruction causes fails and displays a failure message entitled: Call_StackStatus Exception 0xC000041D 'Unknown'
The first two of many lines in the failure window are : 76e21b7b 648025CA0F0000FE ANDB FS:[00000FCA],0xFE +00000 76e21b83 817C2404CDABBADC CMP [ESP+0x4],0xDCBAABCD +00008 Such lines are meaningless to me, but perhaps someone will recognise something.
I will gladly provide any other information on request. In the meantime, is this enough to give any a clue to the likely cause?