Information générale
Catégorie:
Fonctions Windows API
You may try to CLEAR DLLS and redeclare DLL functions every now and than. Probably every hour will be soon enough. If the problem is with the dlls, than the problem should disappear. CLEAR DLLS unloads all dlls and cleans the memory used by them.
Obiously, you should have all DECLARE-DLL commands in one place.
Vlad
>I have a FoxPro program that uses the Organizer API. It calls several DLL functions to retrieve calendar information. The program calls these functions in a loop every 10 seconds continuously.
>
>When I first start the program, this loop can take 1 to 5 seconds. By the end of the day, it takes 10 to 20 seconds. Within a few days, it takes hundreds of seconds. Is this a bug in the Lotus DLL? Has anyone experience similar problems?
>
>The FoxPro program writes out the value of SYS(1016) (user object memory use) every 5 minutes, and the value remains constant. Are there any of other vital statistics I can print out to tell me what is happening?
>
>Thanks!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement