Hi Team from Stimulsoft,
I don't understand the difference between
StiReport MyReport = StiReport.GetReportFromAssembly("MFile.dll");
and
StiReport MyReport = StiReport.GetReportFromAssembly("MFile.dll", true);
Could you please explain?
Thanks, Marco
GetReportFromAssembly Question
GetReportFromAssembly Question
In this case when we load report from assembly for 100 times then the file "MFile.dll" will be loaded exactly 100 times in memory. The file "MFile.dll" could be deleted after that because it wasn't locked.EDV wrote:StiReport MyReport = StiReport.GetReportFromAssembly("MFile.dll");
Calling this method results in locking of the file "MFile.dll" but it will be loaded in memory only once even if the loading procedure is called many times. After that the file cannot be deleted until the Application domen is loaded in memory. Only after releasing the domen from memory the file "MFile.dll" could be deleted.EDV wrote:StiReport MyReport = StiReport.GetReportFromAssembly("MFile.dll", true);
Thank you.