I have been trying to use %WB for intelligent report but it seem to have an issue when used in conjunction with %IB. if i comment out the line with %IB the example works as expected using the %BT button. With the %IB line in place the example crashes immeadiately when the toolbar button is pressed. If the %bt button is pressed the %WB window opens but crashes with the same error message on close /move
' The instruction at address 100a67a4 attempted to read from location 00000000 100a62a1 constructed_button_procedure@16#70 [+0503]'
PROGRAM TEST
c ============ IMPLICIT NONE INCLUDE <windows.ins> INTEGER IWIN INTEGER OPEN_WEB EXTERNAL OPEN_WEB IWIN = WINIO@('%CA@&', 'WB test') IWIN = WINIO@('%ib[flat]&','tb_web',1,OPEN_WEB) IWIN = WINIO@('%bx&',0.1d0) IWIN = WINIO@('%^bt[wb_test]&', OPEN_WEB) IWIN = WINIO@('%ff%3nl%cn%bt[OK]') END
INTEGER FUNCTIONOPEN_WEB()
c ========================= IMPLICIT NONE OPEN_WEB = 1 CALL SHOW_URL_WEB('Report', 'http://www.silverfrost.com') END
SUBROUTINE SHOW_URL_WEB(CAPTION, TMPPATH)
c ========================
IMPLICIT NONE
INCLUDE <windows.ins>
CHARACTER*( * ) CAPTION, TMPPATH
INTEGER IWIN
IWIN = WINIO@('%CA@&', CAPTION)
IWIN = WINIO@('%80.35wb@&', TMPPATH)
IWIN = WINIO@('%ff%nl%cn%bt[OK]')
END
// resource wb_rec.rc
1 24 default.manifest
tb_web BITMAP 'tb_htmlview.bmp'
bitmap file available if required steve