replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Program crash with ListView (XP-style) under Windows 7
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Program crash with ListView (XP-style) under Windows 7

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Tue Jul 06, 2010 1:12 pm    Post subject: Program crash with ListView (XP-style) under Windows 7 Reply with quote

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
View user's profile Send private message
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Fri Dec 10, 2010 11:00 am    Post subject: Reply with quote

This still crashes on Win7 using FTN95 v6.0
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Tue Jan 11, 2011 4:43 pm    Post subject: Reply with quote

This bug has now been fixed for the next release of salflibc.dll.
Back to top
View user's profile Send private message AIM Address
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Tue Jan 11, 2011 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Thu Jan 13, 2011 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group