Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM object creation is very slow
Message
From
28/03/2004 02:20:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
COM object creation is very slow
Miscellaneous
Thread ID:
00890236
Message ID:
00890236
Views:
43
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
Next
Reply
Map
View

Click here to load this message in the networking platform