|
-
Nov 9th, 2000, 11:00 PM
#1
Thread Starter
Junior Member
Well this is the senerio..
I have three applications working together.
1) prints pdf files
2) FTP transfer of files from one server to this server
3) monitors if ADOBE is running (ie while printing process is going on sometimes Adobe displays a modal dialog if file is bad)In that case this application kills adobe
All the applications are to run unattended and in endless loops
The printing app consumes 99% CPU and for some reason and it terminates once in one - two days
Please guide what would be a good way to handle the situation
Is there a way to optimize the performance?
Or if we could check that cpu usage is maximum then put rest of the applications to DoEvents.
-
Nov 10th, 2000, 01:28 AM
#2
Fanatic Member
Did you make the app that prints pdf files?
-
Nov 10th, 2000, 07:21 AM
#3
transcendental analytic
Place the loop code inside timer events, adjust by having smaller loops in the timers, or using Settimer api and to create more frequent events.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|