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

Patch - out-proc server IClassFactory::LockServer done wrong

From: Dmitry <wipedout_at_yandex.ru>
Date: Thu, 03 Mar 2011 09:46:57 +0300


Attached is an untested patch that addresses malfunctioning of IClassFactory::LockServer.
If a client calls LockServer( true ), then creates an object with that factory, then releases the object, WM_QUIT is posted and the server terminates ignoring the lock.

The patch addresses this by using one global lock the same way as it is done in ATL.

Also DllMain function is not used in an out-proc server.

Best wishes.


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

Received on 2011-03-03 07:47:04 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.