--- Robert Shearman rob@codeweavers.com wrote:
Actually, you can ignore all flags except COINIT_APARTMENTTHREADED and COINIT_MULTITHREADED. These are the only two that matter for the error message and return value of CoInitializeEx. Just and these two flags with dwCoInit before comparing it with the existing apartment model.
Right, I realize that. COINIT_DISABLE_OLE1DDE and COINIT_SPEED_OVER_MEMORY are the only two defined and ignored flags though, so I thought the ERR might be useful in case something unknown pops up.
--Juan
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com