Article View: borland.public.delphi.com.activex.using
Article #174Re: What CoInitialization?
From: Marc Rohloff [TeamB]
Date: Mon, 28 Jul 2008 13:25
Date: Mon, 28 Jul 2008 13:25
14 lines
1570 bytes
1570 bytes
On Mon, 28 Jul 2008 18:26:49 +0530, Yogi Yang wrote: > What is this CoInitialization? > > Can someone enlighten me on this please? Initialization of the COM (ActiveX/DCOM) framework. You need to make sure that CoInitialize* is called on every thread that uses COM. You also need to make sure that every successful call to CoInitialize* is matched with a call to CoUninitialize. -- Marc Rohloff [TeamB] marc -at- marc rohloff -dot- com
Technical Details
Message-ID:
<1xk4rbhnvqaeu.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<488dc210@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 123df9,a5cfc09a3dc6f939 X-Google-Attributes: gid123df9,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <marc@nospam.marcrohloff.com> Subject: Re: What CoInitialization? Newsgroups: borland.public.delphi.com.activex.using User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <488dc210@newsgroups.borland.com> Date: Mon, 28 Jul 2008 10:25:36 -0300 Message-ID: <1xk4rbhnvqaeu.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 080727-0, 07/27/2008), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 201.56.39.131 X-Trace: newsgroups.borland.com 1217251521 201.56.39.131 (28 Jul 2008 06:25:21 -0700) Lines: 14 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail