Skip to content

too many open filehandles #57

@gfpos

Description

@gfpos

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions