I have latest Office 2016 version 16.0.4366.1000 and I use Access OLEDB engine for work with mdb files.
If Access OLEDB is used in single thread all works ok, but two or more threads with separate ADO DB Connection instants with
"Provider=Microsoft.ACE.OLEDB.12.0"
all time crashing.
I wrote small C++ sample for reproduce this error. Please look at Stackoverflow for code sample.
Exception stack:
- Exception thrown at 0x00007FFB32361F28 in ACEOLEDBTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000006B771FEAF0.
- Exception thrown at 0x00007FFB32361F28 in ACEOLEDBTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
- Exception thrown at 0x00007FFB32361F28 in ACEOLEDBTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000006B771FEAF0.
- Exception thrown at 0x00007FFB32361F28 in ACEOLEDBTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000006B771FEFB8.
- Exception thrown at 0x00007FFAF9ED1271 (Mso40UIwin32client.dll) in ACEOLEDBTest.exe: 0xC0000005: Access violation writing location 0x0000000000000000.
Does anybody have the solution ?