delorie.com/archives/browse.cgi | search |
--=-Zqu5pipC4FHNm9dbD90Q Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2002-09-03 at 21:51, Corinna Vinschen wrote: > Yep, that's the problem. And the reasoning for calling CoInit/CoUnint > always as pair here since there's no way to rely on that the application > will *not* call CoUnit somewhere in the middle of its processing. If it does, and it didnt' call CoInit, it is an application bug, and not our problem. Thats why there is the requirement to pair the calls - to allow us to call it once when we need it, and once on shutdown. If we need to call it once per thread, then IMO we simply set a per-thread flag when we have called it. =20 Rob --=-Zqu5pipC4FHNm9dbD90Q Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9dKQ9I5+kQ8LJcoIRAr02AJ0UdNsQXHbYqfyKxd560aiBPK4TCACfUTIR 2/8j2fZyQov+UivuE73hL88= =+x5O -----END PGP SIGNATURE----- --=-Zqu5pipC4FHNm9dbD90Q--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |