View Issue Details

IDProjectCategoryView StatusLast Update
0005383JEDI VCL00 JVCL Componentspublic2011-06-07 17:32
ReporterMarshallWattsAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.40 
Target VersionFixed in Version 
Summary0005383: Picture won't save to stream from rich edit
DescriptionOpen the following picture with paint, select all, copy, then paste it into a rich edit control. when you try to stream it out:

      ProblemDescriptionRE->Lines->SaveToStream( h_cStream );

You get an exception.. "Failed to Save Stream"
TagsNo tags attached.

Activities

2010-10-26 14:46

 

pisa.jpg (39,156 bytes)
pisa.jpg (39,156 bytes)

obones

2010-11-09 14:18

administrator   ~0018034

Please try with the latest SVN content.
If this is still here, please provide the zipped sources of a sample application showing this.

MarshallWatts

2010-11-10 21:15

reporter   ~0018078

I don't know what "SVN" means but this problem is with the latest release of JVCL and JCL.

AHUser

2010-11-27 22:30

developer   ~0018191

I can't reproduce this with Delphi XE and the svn revision 12913.

1. Create a new VCL application
2. Drop a TJvRichEdit on it
3. Drop a TButton
4. Write the following code:

procedure TForm1.Button1Click(Sender: TObject);
var
  Stream: TMemoryStream;
begin
  Stream := TMemoryStream.Create;
  try
    JvRichEdit1.Lines.SaveToStream(Stream);
  finally
    Stream.Free;
  end;
end;



SVN is the abbreviation for SubVersion, the version control system that the JCL and JVCL use.

obones

2011-06-07 17:32

administrator   ~0018580

No news, assuming this is fixed

Issue History

Date Modified Username Field Change
2010-10-26 14:46 MarshallWatts New Issue
2010-10-26 14:46 MarshallWatts File Added: pisa.jpg
2010-11-09 14:18 obones Note Added: 0018034
2010-11-09 14:18 obones Status new => feedback
2010-11-10 21:15 MarshallWatts Note Added: 0018078
2010-11-27 22:30 AHUser Note Added: 0018191
2011-06-07 17:32 obones Note Added: 0018580
2011-06-07 17:32 obones Status feedback => resolved
2011-06-07 17:32 obones Resolution open => fixed
2011-06-07 17:32 obones Assigned To => obones