IonicWind Software

Aurora Compiler => General Discussion => Topic started by: JR on May 06, 2006, 01:44:51 AM

Title: TypeLib Browser 1.01
Post by: JR on May 06, 2006, 01:44:51 AM
The TypeLib Browser is a tool designed to let you to examine the contents of COM servers and ActiveX controls, to generate definitions for the interfaces, enumerations and structures, and to generate classes for events sink.

What is new in this version?

Please note that because the interfaces are defined in the same order that are retrieved from the typelib you may need to change the placement of some of them if they are referenced before they are defined.

You may also need to change the placement of some structures that are referenced before they are defined. Another potential problem are structures and unions with cross references, e.g. an structure with a member that is an union having this same structure as one of its members.
Title: Re: TypeLib Browser 1.01
Post by: Ionic Wind Support Team on May 06, 2006, 01:48:50 AM
Thanks.  It will be a wonderful addition to everyones Aurora toolkit.
Title: Re: TypeLib Browser 1.01
Post by: lviklund on May 06, 2006, 02:22:27 PM
Thank you JosÃÆ'Ã,©.

I used TL a lot when I used PowerBasic and I am extremely  ;D happy to be able to continue to use it know together with Aurora.
For me it is a great tool.

Regards
Lasse
Title: Re: TypeLib Browser 1.01
Post by: JR on May 06, 2006, 02:51:45 PM
Developing it helped me a lot to learn COM programming. I have bought Aurora mainly because I was looking for a compiler that will allow me to use low-level COM without having to waste countless hours making wrappers. C++ was an option, but it has a very steep learning curve.
Title: Re: TypeLib Browser 1.01
Post by: Ionic Wind Support Team on May 06, 2006, 02:58:49 PM
And the source it generated is near perfect ;)
Title: Re: TypeLib Browser 1.01
Post by: Steven Picard on May 06, 2006, 08:39:13 PM
Wow!  :D This is awesome.  Thanks!!!
Title: Re: TypeLib Browser 1.01
Post by: JR on July 12, 2006, 08:39:19 PM
Quote from: Paul Turley on May 06, 2006, 02:58:49 PM
And the source it generated is near perfect ;)

If somebody notices bugs please report it to fix them. So far I have made the following modifications for the next update:

* Bug fix: OUT parameters of the type VT_USERDEFINED that are members of an enumeration or an alias for a standard type didn't get an "*" before its name.

* Bug fix: The IUnknown interface (defined in STDOLE2.TLB) got an " :" after its name.

* Bug fix: Interfaces without a virtual table are fully skipped. In version 1.01 were listed, originating an interface definition without virtual declarations.

* Bug fix: In the generated code for the identifiers, the name of the interface was omitted iin the remed line DEFINE_GUID(_IID_xxx).
Title: Re: TypeLib Browser 1.01
Post by: Zen on July 13, 2006, 06:16:09 AM
Well it looks very nice but it may aswell be in russian for me, COM is something that has always been over the top of my head from the beginning and i cant really find a beginners com documentation.

Lewis
Title: Re: TypeLib Browser 1.02
Post by: JR on May 18, 2007, 03:35:44 PM
 
I'm posting the last version of this tool here as an attachment because I'm going to move to another forum and because currently I don't have time to work with Aurora. Hope I will find the time in the future.


The TypeLib Browser is a tool designed to let you to examine the contents of COM servers and ActiveX controls, to generate definitions for the interfaces, enumerations and structures, and to generate classes for events sink.

If the Automation box is checked, information for dual interfaces will be shown in the treeview using the IDispatch interface view instead of the VTable view.

If the Add enum prefix box is checked, the name of the enumerations are added to the constants. This is useful to avoid conflicts between different enumerations having one or more members with the same name that other enumerations.

Double click the wanted typelib in the ListView to retrieve the information.

Click the Code button to generate the interface definitions.

Note The file ATLB_KEYW.TXT contains a list of the reserved words, one per row. It is used for syntax coloring and to avoid conflicts with the names of the methods, properties and variables. An underscore ("_") is added to the name of a variable, method or property with the same name that a reserved word.

Note The file ATLB_COM.INC contains some constants, structures, declarations and interface definitions that you may need to use until Aurora will come with official include files for the Windows API.


DISCLAIMER

This software and accompanying documentation are provided "as is" and without warranties as to performance or merchantability or any other warranties whether expressed or implied.

Because of the various hardware and software environments into which this application may be used, no warranty of fitness for a particular purpose is offered. The user must assume the entire risk of using this software. In no case shall any of the contributors to this project be liable for any incidental, special or consequential damages or loss, including, without limitation, lost profits or the inability to use equipment or access data. This is true even if we are advised of the possibility of such damages. We also don't have any obligation of fix eventual bugs or to add new features.

What is new in this version?


What was new in version 1.01?

Title: Re: TypeLib Browser 1.01
Post by: Steven Picard on August 12, 2007, 07:38:31 PM
BTW, thanks for this great tool.  Hopefully we will soon get a lot more users who will benefit from your it.
Title: Re: TypeLib Browser 1.01
Post by: dossic on May 16, 2008, 08:42:20 AM
HI!

I bought a new notebook, and it is only running Vista   Now, I can no more open ATLB under Vista.   Do you have any suggestion or help?

Yours   Carlo
Title: Re: TypeLib Browser 1.01
Post by: JR on May 16, 2008, 08:58:44 AM
Which error are you getting?
Title: Re: TypeLib Browser 1.01
Post by: dossic on May 16, 2008, 09:18:06 AM
The error message is the following :

"Error 1240040 releasing TLibAttr"

Yours   Carlo
Title: Re: TypeLib Browser 1.01
Post by: JR on May 16, 2008, 11:38:14 AM
Thanks. Hope this new version will work. I don't have Vista installed.
Title: Re: TypeLib Browser 1.01
Post by: dossic on May 21, 2008, 03:37:03 AM
It appears to work great!

Thanks.   Carlo