Page 1 of 1

Type library

Posted: Wed Oct 13, 2004 2:37 pm
by ethelby
I've been searching the net trying to find out how to create a type library to include as a reference to my IDE so I can build a type library for MQ2 and have the nice little context menu and use the object browser... If anyone could provide a link for creating such a file in VC6 (that's comprehendable by a newbie to VC6) that would be great.

Posted: Wed Oct 13, 2004 3:05 pm
by morevit
Type libraries are related to COM interfaces. MQ2 doesn't have one. You'll have to settle for the compiler generated browse information.

Posted: Fri Oct 15, 2004 1:59 am
by ethelby
Thanks.

Does anyone here use a text editor that highlights syntax AND has "Intellesense" that shows what properties/methods are exposed for each object after typing a period after an object name?

IE typing Me. shows:

Code: Select all

Me.
    _______________________
    |AAExp              |^|
    |AAPoints           | |
    |AARank             | |
    |AATitle            | |
    |Ability[Name]      | |
    |Ability[Slot]      | |
    |AbilityReady[Name] | |
    |AbilityReady[Slot] |v|
    -----------------------
I just downloaded a program that has this ability (Code Chameleon) and I've started writing out what I need. If anyone else is using a program with similar functionality and already has the object structures populated and willing to share, I'd like to know so I don't have to start from scratch :) I'd also just like to know of other programs that have this ability just to see which one I like the best.

Posted: Fri Oct 15, 2004 10:04 am
by Grumpy
Visual Studio does this.

Posted: Fri Oct 15, 2004 11:02 am
by Cr4zyb4rd
VIM forever

Posted: Fri Oct 15, 2004 1:51 pm
by ethelby
Grumpy wrote:Visual Studio does this.

Could you elaborate how to get VS6 to do this for custom code such as MQ2 macros? I've been looking in the help and haven't found it. I did find the custom keywords.