[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch - out-proc COM server will hang if class registration fails

From: Dmitry <wipedout_at_yandex.ru>
Date: Wed, 02 Mar 2011 10:19:19 +0300

Hey.

Attached is an untested patch that addresses out-proc COM server hanging forever in case CoRegisterClassObject fails. It also reuses global class factory instead of creating a new one.

Also I totally don't get why DllCanUnloadNow and DllGetClassObject are in that code - that code seems to be only used in an out-proc server and out-proc servers don't need those functions. What's the use of those two functions?

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2708903

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-03-02 08:19:28 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.