I have program crashes with listview controls, if the number of rows is getting larger. I was able to reproduce a similar crash with a simple test program:
winapp
Program Test_lv
!=======================================================================
integer, parameter :: lv_len = 109
integer :: winio@
character(len=20),dimension(0:lv_len) :: items
integer :: iw, nitems, view
items(0) = '|Header|Value'
do i=1,lv_len
write(items(i),'(a5,i3.3,a1,f7.1)') '|Test',i,'|',float(i)
enddo
nitems = lv_len+1
view = 1
iw = winio@ ('%ca[Test lv]&')
iw = winio@ ('%lv&',200,100,items,nitems,isel,view)
iw = winio@ ('%ff%nl%cn%`12bt[Close]')
iw = winio@ ('%ff%nl ')
stop
end
This example crashes with an access violation error in clearwin64.dll for 109 or more rows. With a smaller number of rows it works fine. The 32bit version runs without problems. I am using ftn95 v9.13.