View previous topic :: View next topic |
Author |
Message |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Tue Jul 06, 2010 1:12 pm Post subject: Program crash with ListView (XP-style) under Windows 7 |
|
|
The following program ill-behaves when clicking on any of the editable boxes (each BEGIN_EDIT is immediately followed by an END_EDIT for no reason) and, worse, clicking on any of the boxes of the last row triggers an instant crash.
This does happen with every Windows7 we tried (ftn95 from current down to 5.21 tested) but works fine for XP. Removing the XP-style manifest (resources section) makes the problem go away.
Code: | winapp
program listbox
implicit none
integer, dimension(3):: selection
integer :: view
character (len=*), dimension(4), parameter ::lvdata = &
(/'|Header_100|', '|Data1 |', '|Data2 |', '|Data3 |'/)
integer i
selection = 0
view = 1
i=winio@('%lv[edit_cells]',150, 100, lvdata, 4, selection, view)
end program listbox
resources
1 24 default.manifest |
|
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Fri Dec 10, 2010 11:00 am Post subject: |
|
|
This still crashes on Win7 using FTN95 v6.0 |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Tue Jan 11, 2011 4:43 pm Post subject: |
|
|
This bug has now been fixed for the next release of salflibc.dll. |
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Tue Jan 11, 2011 6:39 pm Post subject: |
|
|
Thank you, if this can be tested in advance please let me know (we're using a lot of complex listviews so this is of high interest). |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Thu Jan 13, 2011 11:06 am Post subject: |
|
|
This turns out to be a Microsoft bug and I am finding it difficult to construct a work-around.
In the short term all you can do is avoid using the XP manifest under Windows 7. |
|
Back to top |
|
 |
|