using your FullDemo solution the activeX control causes a memory leak when loading the settings multiple times:
Code: Select all
private void btnSettLoad_Click(object sender, EventArgs e)
{
try
{
PDFXEdit.IOperation op = pdfCtl.Inst.CreateOp(pdfCtl.Inst.Str2ID("op.settings.import"));
op.Params.Root["Options.History"].v = ckSettIncHist.Checked;
op.Params.Root["Input"].v = fsInst.DefaultFileSys.StringToName(tSettFile.Text);
op.Do();
UpdateDocumentsOpts();
}
catch { }
}
// Martin