summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/ADriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/ado/ADriver.cxx')
-rw-r--r--connectivity/source/drivers/ado/ADriver.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/connectivity/source/drivers/ado/ADriver.cxx b/connectivity/source/drivers/ado/ADriver.cxx
index 7d14a58206ae..ea193df66ebc 100644
--- a/connectivity/source/drivers/ado/ADriver.cxx
+++ b/connectivity/source/drivers/ado/ADriver.cxx
@@ -54,6 +54,13 @@ ODriver::ODriver(const css::uno::Reference< css::lang::XMultiServiceFactory >& _
++h;
}
}
+// LEM TODO: this h business above is fishy. The value is incremented and nothing done with it?
+// The return value of CoInitializeEx is not checked the second time?
+// Will calls to CoInitializeEx and CoUninitialize be balanced?
+// Why is CoInitialize called again in destructor?
+// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms695279(v=VS.85).aspx
+// Need to understand what runs on which thread, since this initialisation business is per-thread
+// -------------------------------------------------------------------------
ODriver::~ODriver()
{