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
 Link to IDL files from CPP
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

peck797
Tomato Guru

United Kingdom
171 Posts

Posted - Sep 05 2006 :  07:26:20 AM  Show Profile  Reply with Quote
Does Alt-G understand that a C++ method in a class derives from an interface that is originally declared in an IDL file?

So, if I hit Alt-G when in C++, do you expect it to offer me a choice that includes the IDL file entry as well as the C++ header etc?

It doesn't do this for me but I'm not sure if this is my machine playing up again or whether it's not supported :)

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Sep 05 2006 :  3:49:38 PM  Show Profile  Reply with Quote
i don't actually know, partly because i am not entirely sure what an IDL file is. the extent of my knowledge is this thread:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4432

which doesn't actually help all that much

i will ask support and see if they have any ideas.

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

peck797
Tomato Guru

United Kingdom
171 Posts

Posted - Sep 05 2006 :  3:52:36 PM  Show Profile  Reply with Quote
OK. Maybe that explains why VAX doesn't understand them! You only get into these things when you play with COM and similar technologies.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 06 2006 :  1:30:20 PM  Show Profile  Reply with Quote
Alt+g will not list base class methods that a derived class has overridden (when alt+g is invoked on the derived class method).
Alt+g on an interface defined in an IDL/ODL file will go to the header file created by MIDL, not the original IDL/ODL file.

Edited by - sean on Sep 06 2006 1:31:28 PM
Go to Top of Page

peck797
Tomato Guru

United Kingdom
171 Posts

Posted - Sep 06 2006 :  1:38:51 PM  Show Profile  Reply with Quote
OK, thanks for the confirmation
Go to Top of Page

peck797
Tomato Guru

United Kingdom
171 Posts

Posted - Sep 11 2006 :  05:35:49 AM  Show Profile  Reply with Quote
VAX has now started jumping to the coclass definition in the IDL file, when I hit Alt-G on the CPP implementation. It isn't jumping to the declaration in the header file, as I deduce should be happening from your comment.

I know that there are wacky things about VAX on my system but, in the light of your comment, it seems strange that VAX should be capable of understanding that:

STDMETHODIMP MyCollection::get_Count(/*[out, retval]*/ long *value)
{
}

derives originally from:

coclass MyCollection
{
[default] interface IMyCollection;
};

when I hit Alt-G with the caret somewhere in the word "MyCollection" in the CPP file.

It's why I asked the question in the first place. I was sure that I had VAX doing this at one point and, though it stopped for a while, it's now back doing it again.

Weird, but probably another one for the "reinstall-Windows" solution, once I get past this damn deliverable deadline!
Go to Top of Page

peck797
Tomato Guru

United Kingdom
171 Posts

Posted - Nov 20 2006 :  7:28:31 PM  Show Profile  Reply with Quote
This isn't happening any more with 1540. Problem fixed :)
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