adrianstone55 / SymbolSort

A Utility for Measuring C++ Code Bloat
http://gameangst.com/?p=320
Apache License 2.0
117 stars 17 forks source link

Running SymbolSort with VS2017? #27

Open parbo opened 5 years ago

parbo commented 5 years ago

I'm having issues with running SymbolSort after building it with VS 2017. I tried both the provided solution file, and creating my own, using info from https://github.com/adrianstone55/SymbolSort/issues/17

I've tried registering msdia140.dll in various ways. With regsvr32, and with the registry patch from https://github.com/csoltenborn/GoogleTestAdapter/issues/124

But still I get this:

Unhandled Exception: System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {E6756135-1E65-4D17-8576-610761398C3C} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).

What can I do?

PA65536 commented 5 years ago

Building for x64 instead of "Any CPU" worked for me.

andrew-donnell commented 5 years ago

@parbo did you end up getting this to work? Seems like we're trying similar things, so I'm curious as to whether you were able to get it to build and execute as intended. I got it to build, but had issues running it on the targets (Issue #28).