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
 supporting imported namespaces?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Apr 01 2004 :  10:31:13 PM  Show Profile
I'm sure this was already sometime ago requested but I cant find it.

When using #import to import com namespaces, VAX does not recognize types from this namespace(s).
I would be really phantastic when VAX could import these type libraries and show them like normal namespaces.

I'm sure the source code for OLEView is somewhere available

support
Whole Tomato Software

5566 Posts

Posted - Apr 01 2004 :  11:00:34 PM  Show Profile
VA should work with #imported modules. #import "foo.dll", should create a foo.tlh in your output directory and VA should find and parse the file. If the file there? If you open the file manually and hit reparse, does it fix the problem?

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Apr 01 2004 :  11:09:45 PM  Show Profile
I'm importing tlb's. Should that work the same way?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Apr 02 2004 :  12:12:57 AM  Show Profile
Ok, a rebuild all and reparse all later, VAX recognizes the types from this namespace. But it seems to be a bit confused about the types defined therein.
When I Alt+G on a type, VAX takes me to the .h file created from the .IDL file, instead of the .tlh file.
The forward declarations for the interfaces in the .h file seem to irritate VAX - it shows only the forward declaration instead of the real declaration in the definition bar.

Or, maybe I am just misunderstanding (or expecting too much) how VAX supports COM.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000