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
 Technical Support
 IDL files not shown in List Includes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Mar 03 2014 :  11:45:42 AM  Show Profile  Reply with Quote
Hi,

For MIDL files (*.idl), it looks like the definition tracking is working well. However, I notice that for these files, the List Include Files menu is disabled. Should it be? I had expected these to work just like other header files for the purposes of that menu.

Thanks,
Jay

Edited by - jay.carlton on Mar 03 2014 11:46:05 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 05 2014 :  6:59:15 PM  Show Profile  Reply with Quote
I'm not familiar with IDL files, but you don't really include IDL files into source files as far as I know.

So that leaves the possibility of including headers to IDLs?
http://msdn.microsoft.com/en-us/library/windows/desktop/aa367049(v=vs.85).aspx
"While it is often possible to use the #include directive to include header files in your IDL file, it is not recommended."

Usually an include tree shows the files you include and the files that includes the current file.

Can you please describe how would you use this feature?

Edited by - accord on Mar 05 2014 7:00:40 PM
Go to Top of Page

jay.carlton
Ketchup Master

USA
65 Posts

Posted - Mar 06 2014 :  09:34:44 AM  Show Profile  Reply with Quote
IDL files use a C-ish syntax to set up interfaces and objects that go in type libraries that support COM (and .NET Interop) Automation. If you have many levels of libraries (and IDL files), you can #include one idl file into another, which was my use case here. I do see some instances of including .h files into .idl, but those are limited in my case to integer and character string literals #defined in those headers.

This certainly isn't high priority, though, but if it's a simple matter of adding that extension to the list treated as headers for the purposes of List Include Files, that might help. I haven't tried .hxx, .hh, or .hpp, either.

Likewise, it's possible (although it hurts my head) to #include a cpp file directly.

-Jay
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 06 2014 :  11:22:14 AM  Show Profile  Reply with Quote
Thank you for the elaboration. I have put in a feature request for this:

case=80763
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