Page 1 of 1

LoadDocument fails in prerelease build

Posted: Fri Oct 16, 2009 11:42 am
by Lynn
When we switched from the previous version (2009.2.500.0) to the prerelease version (2009.3.511.0), our code broke:

Code: Select all

Stream reportFile = GetFileStream("Report.mdc");
if (reportFile != null)
{
     StiReport reportOutput = new StiReport();
     reportOutput.LoadDocument(reportFile);
...
The error is occurring in the LoadDocument call, and appears to be due to a problem with reading the stream (offset parameter to Seek is a negative value).

Is this a known issue / will it be addressed?

LoadDocument fails in prerelease build

Posted: Fri Oct 16, 2009 3:55 pm
by Edward
Hi

I checked that code with both versions of our libraries. Everything worked correctly.

Could you please send a sample to support[at]stimulsoft.com which reproduces the problem.

Thank you.