Click here to Skip to main content
15,843,149 members
Home / Discussions / COM
   

COM

 
GeneralRe: in-proc ==>> Out-of-proc Pin
In-At14-Jul-03 21:01
In-At14-Jul-03 21:01 
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi215-Jul-03 3:29
Vi215-Jul-03 3:29 
GeneralRe: in-proc ==>> Out-of-proc Pin
In-At15-Jul-03 3:42
In-At15-Jul-03 3:42 
GeneralSpeed of COM Pin
Jo Fredrickson6-Jul-03 22:02
Jo Fredrickson6-Jul-03 22:02 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:30
In-At7-Jul-03 0:30 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:58
In-At7-Jul-03 0:58 
GeneralRe: Speed of COM Pin
Jo Fredrickson7-Jul-03 17:03
Jo Fredrickson7-Jul-03 17:03 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 20:59
In-At7-Jul-03 20:59 
The solution for this is that you should club separate calls into a single call. For example:
Suppose you have a collection of 100 items, and collection's object has 4 attributes each. To display all the properties, your client is doing something like this:

For each item of collection:
{
Get object
get first prop of object
get second prop of object
get third prop of object
get fourth prop of object
}

So, you are making 5 *100 = 500 calls to COM server. Instead you should define prototype like this:

Collection->GetAllproperties([out] Variantarray)

So, single call to COM server will achieve this.

Regards.
GeneralRe: Speed of COM Pin
Mike Dimmick12-Jul-03 9:10
Mike Dimmick12-Jul-03 9:10 
GeneralRe: Speed of COM Pin
Jo Fredrickson14-Jul-03 19:05
Jo Fredrickson14-Jul-03 19:05 
GeneralRe: Speed of COM Pin
Gerald Schwab20-Jul-03 18:23
Gerald Schwab20-Jul-03 18:23 
GeneralATL Control sinks Pin
Ancient Dragon4-Jul-03 4:32
Ancient Dragon4-Jul-03 4:32 
GeneralAccessing COM objects Pin
Moonspellwizard3-Jul-03 20:44
Moonspellwizard3-Jul-03 20:44 
GeneralRe: Accessing COM objects Pin
In-At3-Jul-03 21:17
In-At3-Jul-03 21:17 
GeneralADO Pin
Anthony98873-Jul-03 10:51
Anthony98873-Jul-03 10:51 
GeneralRe: ADO Pin
Anonymous3-Jul-03 12:51
Anonymous3-Jul-03 12:51 
GeneralMultiple instances are launched Pin
In-At2-Jul-03 21:42
In-At2-Jul-03 21:42 
GeneralIn-proc to out-of-proc Pin
In-At2-Jul-03 21:19
In-At2-Jul-03 21:19 
GeneralRe: In-proc to out-of-proc Pin
valikac3-Jul-03 8:39
valikac3-Jul-03 8:39 
GeneralRe: In-proc to out-of-proc Pin
In-At3-Jul-03 20:54
In-At3-Jul-03 20:54 
GeneralRe: In-proc to out-of-proc Pin
valikac4-Jul-03 6:00
valikac4-Jul-03 6:00 
GeneralHelpppppp! Pin
safee ullah2-Jul-03 21:07
safee ullah2-Jul-03 21:07 
Generalhelp!!,there are some errors in my program Pin
yingkou2-Jul-03 4:35
yingkou2-Jul-03 4:35 
Generalremote connection to server Pin
satishsilla2-Jul-03 3:59
satishsilla2-Jul-03 3:59 
Generaldefault properties on COM interfaces Pin
Dave Bryant1-Jul-03 17:26
Dave Bryant1-Jul-03 17:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.