Forum Discussion
StwKubak
Jun 24, 2021Copper Contributor
freeze at CreateInstance when trying to get acedao version
Hello,
while running our program, we noticed a change in behavior after updating MS Office within the Insider program to ver. 2106.
Problem appears at point "hr = dbEngine.CreateInstance(__uuidof(DBEngine));" where the function stops work.
- CsVersion GetAceDaoVersion()
- {
- CsVersion ver;
- LPTSTR lpszFilePath = "acedao.dll";
- HRESULT hr = ::CoInitialize(NULL);
- if (hr != S_OK)
- {
- return ver;
- }
- _DBEnginePtr dbEngine;
- hr = dbEngine.CreateInstance(__uuidof(DBEngine));
- if (hr != S_OK)
- {
- return ver;
- }
- ver.LoadInfoFromFile(lpszFilePath);
- return ver;
- }
Has anyone noticed a similar problem or change?
- MijelCopper ContributorI have exactly the same issue with Office 365 Version 2106 (Build 14131.20278). My 32bit C++ program freezes at line
dbEngine.CreateInstance(__uuidof(DBEngine))
and never returns. - EvanBrass Contributor
Hello StwKubak
Sorry to hear this is happening to you. If this is still happening, we'd suggest reproducing the issue and then report it through the app via the steps listed on this page. If this is affecting your daily work, you might want to switch off of the Insider build until the issue is resolved. You would have to uninstall Office and reinstall it to get back on a production build.
Thanks,
Evan
- Zdenek_KCopper Contributor