View Issue Details

IDProjectCategoryView StatusLast Update
0004984JEDI VCL00 JVCL Componentspublic2009-10-25 10:48
ReporterplarsAssigned ToAHUser 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.38 
Target VersionFixed in Version3.39 
Summary0004984: Delphi 2009 crash after loadfromresource in Tjvlistview
DescriptionCrash after loadfromresource in Tjvlistview no problem in delphi 2008 or before


Additional Informationbreaks out :

          //Read the string
          if Length(Buf) < J then
            SetLength(Buf, J);
          if J > 0 then
          begin
           Stream.Read(Buf, J);
   SetString(UTF8St, PAnsiChar(Buf[0]), J);
            st := UTF8ToString(UTF8St);
          end
TagsNo tags attached.

Activities

2009-10-18 19:10

 

JvListView.pas (84,278 bytes)

plars

2009-10-18 19:34

reporter   ~0016782

I ment loadfromstream!! NOT loadfromresource! :-)

obones

2009-10-19 08:56

administrator   ~0016784

Please provide the zipped sources of a sample application showing this

2009-10-19 19:13

 

sample.rar (472,556 bytes)

plars

2009-10-19 19:15

reporter   ~0016787

see sample.rar.
Code + database is similar to the real code.
Everything worked fine until i moved to delphi 2009.

2009-10-19 19:27

 

delphi 2007 working sample.rar (408,422 bytes)

plars

2009-10-19 19:27

reporter   ~0016788

Also added a delphi 2007 working sample .

plars

2009-10-23 19:49

reporter   ~0016801

Does anybody knows how to solve this????

AHUser

2009-10-25 10:48

developer   ~0016807

Fixed in SVN.

Issue History

Date Modified Username Field Change
2009-10-18 19:10 plars New Issue
2009-10-18 19:10 plars File Added: JvListView.pas
2009-10-18 19:34 plars Note Added: 0016782
2009-10-19 08:56 obones Note Added: 0016784
2009-10-19 08:56 obones Status new => feedback
2009-10-19 19:13 plars File Added: sample.rar
2009-10-19 19:15 plars Note Added: 0016787
2009-10-19 19:27 plars File Added: delphi 2007 working sample.rar
2009-10-19 19:27 plars Note Added: 0016788
2009-10-23 19:49 plars Note Added: 0016801
2009-10-25 10:48 AHUser Note Added: 0016807
2009-10-25 10:48 AHUser Status feedback => resolved
2009-10-25 10:48 AHUser Fixed in Version => Daily / SVN
2009-10-25 10:48 AHUser Resolution open => fixed
2009-10-25 10:48 AHUser Assigned To => AHUser