Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Add identifier support for IIDs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwc
Tomato Guru

138 Posts

Posted - Oct 05 2011 :  11:00:17 AM  Show Profile  Reply with Quote
It would be nice to display the identifier associated with an IID value. For example, if we have this defined somewhere in our solution:


const IID IID_IKElementAnnotate	= { 0x7ac7c7b4, 0x661b, 0x4b2a, { 0xb9, 0xdc, 0x1b, 0x9c, 0xe7, 0x1e, 0xc0, 0x8b } };


And later we have a function, like QueryInterface, that takes an IID, the tooltip showing the IID value is "{7AC7C7B4-661B-4B2A-B9DC-1B9CE71EC08B}" but it would really useful to display "IID_IKElementAnnotate" instead or in addition to.

Thanks,
Paul

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Oct 05 2011 :  5:35:05 PM  Show Profile  Reply with Quote
Personally I am not familiar with IID's, could you post a couple of lines of code to explain what is happening here? I keep on thinking surely you just pass the const "IID_IKElementAnnotate", so you see this const name in your code when you call the function. This is how I use const's.

Or are you talking about what is shown when you are debugging a running program?

zen is the art of being at one with the two'ness
Go to Top of Page

pwc
Tomato Guru

138 Posts

Posted - Oct 05 2011 :  5:41:01 PM  Show Profile  Reply with Quote
I'm talking about what's shown in the debugger while debugging. QueryInterface(IID& iid) takes a reference to an IID. If you hover over the value of the iid argument, you'll see the hex values. I'd like it to display the identifier too.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Oct 07 2011 :  12:47:12 PM  Show Profile  Reply with Quote
This makes more sense. We don't currently get involved while debugging, but this is a good idea, and makes sense. I have put in a feature request to see what our developers make of it:

case=61828

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000