1

When you are debugging a program and you hover over a GUID variable, MSVC retrieves both the variable name (e.g. CLSID_FilterGraph) and the human name (e.g. Filter Graph Object).

It does the second by looking at HKCR\CLSID\GUID - but where does it get the variable name from?? It's not in the registry.

Any ideas?

georgiosd
  • 3,038
  • 3
  • 39
  • 51

1 Answers1

1

The debugging info in the .pdb, probably. It just needs to iterate the CLSIDs defined in the mumble_i.c file generated by MIDL. No problem matching them, they are after all globally unique :)

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
  • I thought so - I guess I'll have to settle for the "Human name" - shipping all the .pdbs is not worth the variable name :) Thanks! – georgiosd Sep 06 '10 at 12:49