|
Hi mpano91@gmail.com,
I am not sure off-hand what would have changed in 1.16.2. But for a crash like that, it is likely the C++ driver, C driver, and your application may be linked to different forms of Windows runtime libraries. It may be helpful to inspect the output of dumpbin.exe to check that your application, the C driver, and C++ driver, all use the same C runtime. E.g. Using the native tools command prompt for libmongoc:
dumpbin.exe /DEPENDENTS libmongoc-1.0.dll
|
You may find that the installed libmongoc is linked to the debug runtime, whereas the C++ driver is linked to the release runtime.
The command:
"path-to-msbuild\msbuild.exe" INSTALL.vcxproj
|
Seems to default to the Debug configuration if an explicit configuration is not specified. You can make that explicit if you intend to install the release form:
msbuild.exe /p:Configuration=Release INSTALL.vcxproj
|
If that does not help, can you include additional information:
- the error message you are seeing, and a stacktrace if possible
- the output of dumpbin on libmongoc, libmongocxx, and your application
Best,
Kevin
|