Re: Rules for calling CoInitilizeEx



Barzo <dbarzo@xxxxxxxxx> wrote:
On 16 Ott, 04:45, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
Barzo wrote:
In my application I need to raise some events from a second thread.

http://vcfaq.mvps.org/com/1.htm

Yes, I had already read the faq, and in my projects I use the 3th
solution (with GIT).
In fact the method I posted works.
But I asked to know if this solution may appear like a trick and is
expensive to call CoInit/CoUninit each time or maybe is ok.

I suppose the best way to find out whether something is too expensive is to measure it.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925

.



Relevant Pages

  • Re: [Kgdb-bugreport] 2.6.23-rc3-mm1: kgdb build failure on powerpc
    ... Plus we should never add power-burners like that into the kernel ... Where is the kgdb git tree? ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH] .gitignore update for x86 arch
    ... Another one I expect you to take in your x86 tree - OK? ... - makes .gitignore files visible to git ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Ext4 tree backports for 2.6.27.13 and 2.6.28.2
    ... Is there a patch for 2.6.27.X for people not using git? ... Theodore Tso wrote: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: An AGW FAQ?
    ... And hence the FAQ contains those links, and they do all the rest of the ... I was just watching a video of Linus Torvalds talking at Google on why one ... would use git, and he's telling the developers there that if you want to ...
    (alt.games.warcraft)