Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VS2015 upd2 fails to make instance of IDiaStackWalker

$
0
0

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


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>