Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM object creation is very slow
Message
De
28/03/2004 02:20:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
COM object creation is very slow
Divers
Thread ID:
00890236
Message ID:
00890236
Vues:
42
I created VFP 7 MTDLL myapp.dll which contains one COM object myobj.
I try to use it from VFP . I have 1.7 GHz Pentium 4 computer with Windows XP SP1
myapp.dll file size is 7 MB.

It takes 12 seconds for FOXISAPI to load this object.
If I call MTDLL with PoolMode=0, each FOXISAPI call takes 12 seconds.

The command from VFP

myobj = CREATEOBJECT('myapp.myobj')

also takes 12 seconds.

If I create same COM object with fewer procedures so that myapp.dll file
size is 5 MB, CREATEOBJECT() command takes 3 seconds.

I also tried to create a EXE com server, but this has the same problem.

Any idea how to decrease 12 seconds creation time of 7 MB VFP COM object ?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform