tags:

views:

264

answers:

1

When calling CoInitializeEx, you can specify the following values for dwCoInit:

typedef enum tagCOINIT {
    COINIT_MULTITHREADED     = 0x0,
    COINIT_APARTMENTTHREADED = 0x2,
    COINIT_DISABLE_OLE1DDE   = 0x4,
    COINIT_SPEED_OVER_MEMORY = 0x8,
} COINIT;

What does the suggestively titled "speed over memory" value do? Is it ignored these days in COM?

+1  A: 

No idea if it's still used but it was meant to change the balance used by the COM algorithms.

If you had tons of memory and wanted speed at all costs, you would set that flag.

In low-memory environments, leaving that flag off would favor reduced memory usage.

paxdiablo
Any reference for that?
1800 INFORMATION
http://msdn.microsoft.com/en-us/library/ms678505(VS.85).aspx
paxdiablo