General information
Category:
Windows API functions
>A quick question, if you don't mind.
>
>Why are you having to re-initialize the app? Memory leaks?
>
>If so, there may be other solutions.
I am re-initializing, because my program slows down after day or so of constantly running. The program makes calls to Lotus Organizer through a Lotus API. I am pretty sure the problem is with their API and not my program. :) I started a discussion about this under the thread "Lotus API slows down computer." I tried some suggustions to no success, such as, CLEAR DLLS and redeclaring them.
So instead of spending more hours on this project, I thought the best solution would be to re-initialize the program everyday. I think I finally got a solution that works. This is what I did.
At the end of the day, the application (A.EXE) terminates. Before termination, A.EXE launches B.EXE via ShellExecute. B.EXE then launches A.EXE and terminates. This seems to work. For some reason, Windows 95 does not allow me to launch A.EXE from A.EXE. On the other hand, Windows NT lets me do this.
Oh well, I will let you know if I have futher problems. Thanks again for your help!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only