this is from using templates:
pdfOut.AddPage();
tpl = pdfOut.ImportPage( i );
pdfOut.UseTemplate( tpl );
works fine as long as i am using less then 512 files.
above that number my program crashes.
Reason is:
windows-7 has a maximum of 512 open files by default.
you can increase that number easily by - _setmaxstdio (2048) - , but it would be better just
to close the handle after assigning the template to the new PDF, because this is just another limitation.
there should be no such limitation of files in general
btw: great job
this is from using templates:
works fine as long as i am using less then 512 files.
above that number my program crashes.
Reason is:
windows-7 has a maximum of 512 open files by default.
you can increase that number easily by - _setmaxstdio (2048) - , but it would be better just
to close the handle after assigning the template to the new PDF, because this is just another limitation.
there should be no such limitation of files in general
btw: great job