Loading SRF from string

Oct 3, 2007 at 5:50 PM
In some instances, it would be very beneficial to load an SRF from string instead of from a file. This would provide us the ability to easily customize the SRF. Although you can specify conditions and loops within the SRF file, in many cases, this is does not suffice.

ATL Server provides CStencil.Parse() but I have been unable to find a single example or code snippet on how to use this class.

// create class instance and load SRF from string
CStencil stencil;

ITagReplacer* pReplacer;

stencil.Render(pReplacer, ???);

I am at a loss, and some assistance would be greatly appreciated.

Thank you,

Jeff Dunlap