Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL slow down during second run
Message
 
À
10/03/2002 21:07:36
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00630804
Message ID:
00630806
Vues:
23
VB6 doesn't support multi-threading. If you have other compile options (like apartment-threading or single-threading, use it).

Also, check if you de-allocate all your objects (check to see if any trace of your DLL still exist into the Task Manager processes after you stop the VB application).


>Hi,
>
>My VB6 written application is using a VFP6 written DLL to do some indexing
>of dbf files. The VFP6 DLL is compile to allow multi-threading.
>
>On my first run, my VB6 application can reindex all my dbf file efficiently without any problem. However, on the second run, the indexing part seem to
>halt, it take too long to reindex before it proceed as normal. Restarting the system will enable my application to run fine, but on second run, it will
>had the same problem again.
>
>What is wrong, please kindly advise me on this issue.
>
>Thank you.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform