Type library

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Type library

Post by ethelby » Wed Oct 13, 2004 2:37 pm

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.

morevit
a lesser mummy
a lesser mummy
Posts: 47
Joined: Tue Sep 14, 2004 10:35 am

Post by morevit » Wed Oct 13, 2004 3:05 pm

Type libraries are related to COM interfaces. MQ2 doesn't have one. You'll have to settle for the compiler generated browse information.

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Post by ethelby » Fri Oct 15, 2004 1:59 am

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.

Grumpy
a hill giant
a hill giant
Posts: 167
Joined: Sun Nov 10, 2002 4:22 pm

Post by Grumpy » Fri Oct 15, 2004 10:04 am

Visual Studio does this.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Fri Oct 15, 2004 11:02 am

VIM forever

User avatar
ethelby
orc pawn
orc pawn
Posts: 10
Joined: Wed Mar 17, 2004 11:49 pm

Post by ethelby » Fri Oct 15, 2004 1:51 pm

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.