Is there a way to free some of GDI resources used?
I saw that when I generate a huge number of pages the Application exceed the defined GDI handlers(10000).
This is a payroll statements generation utility and it generates more than 4000 PDFs (using XFRX) and send them by email.
but after 1500th PDF the system crashed :-)
Is there some API function like GetGuiResources() but SETGuiResources() :-))))
I don't want to do anything with the Windows Registry. I know that there is a way to increase GDI handlers with Registry, but as I said, i don't want to manipulate them.
TIA
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.