Is there a maximum number of Processes that can run?
We have a service that runs to control printer. It spawns an instance of itself for every printer that is setup. We have found that if there are too many printers running, we get an error. "The application failed to initialize properly (0x0000142). Click on OK to terminate the application." We were able to duplicate this error on another system, but we had to setup about 25 extra printers. This leads me to beleive that it is a resource problem. Can anyone help.
The application is written in C. I am looking for suggestions as to what I could change, or how I can get around this problem such as making it a multi-threaded application.
Thanks in advance.
John
We have a service that runs to control printer. It spawns an instance of itself for every printer that is setup. We have found that if there are too many printers running, we get an error. "The application failed to initialize properly (0x0000142). Click on OK to terminate the application." We were able to duplicate this error on another system, but we had to setup about 25 extra printers. This leads me to beleive that it is a resource problem. Can anyone help.
The application is written in C. I am looking for suggestions as to what I could change, or how I can get around this problem such as making it a multi-threaded application.
Thanks in advance.
John