Hello,
I am writing a custom debug engine using Concord API and DIA API for VS2015 (with update 2). Now I ran into trouble with this piece of code:
CComPtr<IDiaStackWalker> stackWalker; HRESULT hr = stackWalker.CoCreateInstance(CLSID_DiaStackWalker, nullptr, CLSCTX_INPROC_SERVER);
When running in VS2015, debugging a 64bit application, hitting a breakpoint and then creating the call stack, above call returns hr = 0x80040154 (REGDB_E_CLASSNOTREG). When debugging 32bit application, there are no problems. Also the same code works fine in VS2013 and VS2012.
Any ideas?
Best Regards,
Ari