-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Client
-
None
-
Fully Compatible
-
ALL
-
It appears that if you link against mongoclient.dll in your project and then execute code that uses a static variable that's declared in the header but has storage reserved in the C++ driver, it may crash. The compiler seems to be allocating storage space for the static variable in the local application even though it should only be using the storage in the DLL.
- depends on
-
SERVER-3364 The C++ Driver compiled as shared library must export the API
- Closed
- related to
-
CXX-81 On Windows, MONGO_API functions should be decorated with __cdecl.
- Closed