Question: How can I save prepared report in Fast Report Studio into C++ program ?

Answer:

VC++ :
1
2
3
4
5
6
7
8
 ...
 IStream * pStream;
 
 CreateStreamOnHGlobal(NULL, true, &pStream);
 pStream->AddRef();
 pReport->PrepareReport(true);
 pReport->SavePreparedReportToStream(pStream);
 .....
C#:
1
2
3
 System.IO.MemoryStream ms = new System.IO.MemoryStream();
 Report.PrepareReport(false);
 Report.SaveReportToStream( ms );