freeze at CreateInstance when trying to get acedao version

%3CLINGO-SUB%20id%3D%22lingo-sub-2480067%22%20slang%3D%22en-US%22%3Efreeze%20at%20CreateInstance%20when%20trying%20to%20get%20acedao%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2480067%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Ewhile%20running%20our%20program%2C%20we%20noticed%20a%20change%20in%20behavior%20after%20updating%20MS%20Office%20within%20the%20Insider%20program%20to%20ver.%202106.%3CBR%20%2F%3EProblem%20appears%20at%20point%20%22hr%20%3D%20dbEngine.CreateInstance(__uuidof(DBEngine))%3B%22%20where%20the%20function%20stops%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%20class%3D%22linenums%22%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3ECsVersion%20%3CSPAN%20class%3D%22typ%22%3EGetAceDaoVersion%3CSPAN%20class%3D%22pun%22%3E()%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%7B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3ECsVersion%3CSPAN%20class%3D%22pln%22%3E%20ver%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pln%22%3ELPTSTR%20lpszFilePath%20%3CSPAN%20class%3D%22pun%22%3E%3D%20%3CSPAN%20class%3D%22str%22%3E%22acedao.dll%22%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pln%22%3EHRESULT%20hr%20%3CSPAN%20class%3D%22pun%22%3E%3D%20%3CSPAN%20class%3D%22pun%22%3E%3A%3A%3CSPAN%20class%3D%22typ%22%3ECoInitialize%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3ENULL%3CSPAN%20class%3D%22pun%22%3E)%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22kwd%22%3Eif%20%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3Ehr%20%3CSPAN%20class%3D%22pun%22%3E!%3D%3CSPAN%20class%3D%22pln%22%3E%20S_OK%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%7B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22kwd%22%3Ereturn%3CSPAN%20class%3D%22pln%22%3E%20ver%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%7D%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22typ%22%3E_DBEnginePtr%3CSPAN%20class%3D%22pln%22%3E%20dbEngine%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pln%22%3Ehr%20%3CSPAN%20class%3D%22pun%22%3E%3D%3CSPAN%20class%3D%22pln%22%3E%20dbEngine%3CSPAN%20class%3D%22pun%22%3E.%3CSPAN%20class%3D%22typ%22%3ECreateInstance%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3E__uuidof%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22typ%22%3EDBEngine%3CSPAN%20class%3D%22pun%22%3E))%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22kwd%22%3Eif%20%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3Ehr%20%3CSPAN%20class%3D%22pun%22%3E!%3D%3CSPAN%20class%3D%22pln%22%3E%20S_OK%3CSPAN%20class%3D%22pun%22%3E)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%7B%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22kwd%22%3Ereturn%3CSPAN%20class%3D%22pln%22%3E%20ver%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%7D%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pln%22%3Ever%3CSPAN%20class%3D%22pun%22%3E.%3CSPAN%20class%3D%22typ%22%3ELoadInfoFromFile%3CSPAN%20class%3D%22pun%22%3E(%3CSPAN%20class%3D%22pln%22%3ElpszFilePath%3CSPAN%20class%3D%22pun%22%3E)%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22kwd%22%3Ereturn%3CSPAN%20class%3D%22pln%22%3E%20ver%3CSPAN%20class%3D%22pun%22%3E%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22pun%22%3E%3CSPAN%20class%3D%22pun%22%3E%7D%3C%2FSPAN%3E%3C%2FSPAN%3E%3CPRE%3E%26nbsp%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20noticed%20a%20similar%20problem%20or%20change%3F%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2487055%22%20slang%3D%22en-US%22%3ERe%3A%20freeze%20at%20CreateInstance%20when%20trying%20to%20get%20acedao%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2487055%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1086915%22%20target%3D%22_blank%22%3E%40StwKubak%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%20to%20hear%20this%20is%20happening%20to%20you.%20If%20this%20is%20still%20happening%2C%20we'd%20suggest%20reproducing%20the%20issue%20and%20then%20report%20it%20through%20the%20app%20via%20the%20steps%20listed%20on%20%3CA%20href%3D%22https%3A%2F%2Finsider.office.com%2Fen-us%2Fhandbook%23Provide-feedback%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20page.%3C%2FA%3E%26nbsp%3BIf%20this%20is%20affecting%20your%20daily%20work%2C%20you%20might%20want%20to%20switch%20off%20of%20the%20Insider%20build%20until%20the%20issue%20is%20resolved.%20You%20would%20have%20to%20uninstall%20Office%20and%20reinstall%20it%20to%20get%20back%20on%20a%20production%20build.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EEvan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2522601%22%20slang%3D%22en-US%22%3ERe%3A%20freeze%20at%20CreateInstance%20when%20trying%20to%20get%20acedao%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2522601%22%20slang%3D%22en-US%22%3EI%20have%20exactly%20the%20same%20issue%20with%20Office%20365%20Version%202106%20(Build%2014131.20278).%20My%2032bit%20C%2B%2B%20program%20freezes%20at%20line%3CBR%20%2F%3EdbEngine.CreateInstance(__uuidof(DBEngine))%3CBR%20%2F%3Eand%20never%20returns.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2523105%22%20slang%3D%22en-US%22%3ERe%3A%20freeze%20at%20CreateInstance%20when%20trying%20to%20get%20acedao%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2523105%22%20slang%3D%22en-US%22%3EExactly%20the%20same%20issue%20here%20after%20Office%20365%20update%20to%20version%202106%20(Build%2014131.20278).%20My%2032bit%20C%2B%2B%20application%20freezes%20at%20%22engine.CreateInstance(__uuidof(DBEngine))%22%20and%20never%20starts%20over.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2686672%22%20slang%3D%22en-US%22%3ERe%3A%20freeze%20at%20CreateInstance%20when%20trying%20to%20get%20acedao%20version%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2686672%22%20slang%3D%22en-US%22%3EFixed%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Ferror-the-operating-system-is-not-presently-configured-to-run-this-application-when-when-trying-to-use-the-access-database-engine-dao-api-from-a-non-microsoft-office-application-c551294a-6f4e-4af5-a89f-e79e232b9898%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Ferror-the-operating-system-is-not-presently-configured-to-run-this-application-when-when-trying-to-use-the-access-database-engine-dao-api-from-a-non-microsoft-office-application-c551294a-6f4e-4af5-a89f-e79e232b9898%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

 

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.

 

  1. CsVersion GetAceDaoVersion()
  2. {
  3. CsVersion ver;
  4. LPTSTR lpszFilePath = "acedao.dll";
  5. HRESULT hr = ::CoInitialize(NULL);
  6. if (hr != S_OK)
  7. {
  8. return ver;
  9. }
  10. _DBEnginePtr dbEngine;
  11. hr = dbEngine.CreateInstance(__uuidof(DBEngine));
  12. if (hr != S_OK)
  13. {
  14. return ver;
  15. }
  16. ver.LoadInfoFromFile(lpszFilePath);
  17. return ver;
  18. }
     

     

    Has anyone noticed a similar problem or change?

3 Replies

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

I 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.