Page 2 of 2
Re: TypeLib Explorer
Posted: Sun Aug 01, 2010 8:42 pm
by Kiffi
@RE-A: after creating the PB-source from MSXML3.DLL
i get Procedures like this one:
Code: Select all
Procedure.i MSXML2IXMLDOMDocument3CreateInstance(lContext.l)
Protected Tmp.MSXML2IXMLDOMDocument3
If CoCreateInstance_(GUID_IXMLDOMDocument3, #Null, lContext, IID_IXMLDOMDocument3, @Tmp) = #S_OK
ProcedureReturn Tmp
EndIf
EndProcedure
but GUID_IXMLDOMDocument3 is not declared (as a GUID) in the source.
Thanks in advance & Greetings ... Kiffi
Re: TypeLib Explorer
Posted: Sun Aug 01, 2010 8:46 pm
by netmaestro
I just noticed that this thread is posted in the Tips & Tricks forum. It really doesn't belong here as you haven't shared the source code. I find this particularly frustrating as your event processing doesn't work properly and no code gets generated here. Imho you should either share the source or ask a moderator to move it to Announcements or Applications Feedback.
Re: TypeLib Explorer
Posted: Sun Aug 01, 2010 9:06 pm
by Rings
netmaestro wrote:I just noticed that this thread is posted in the Tips & Tricks forum. It really doesn't belong here as you haven't shared the source code. I find this particularly frustrating as your event processing doesn't work properly and no code gets generated here. Imho you should either share the source or ask a moderator to move it to Announcements or Applications Feedback.
moving.....
done!

Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Aug 02, 2010 6:09 am
by RE-A
but GUID_IXMLDOMDocument3 is not declared (as a GUID) in the source.
strange, except the interface order it gets generated just fine.
I just noticed that this thread is posted in the Tips & Tricks forum. It really doesn't belong here as you haven't shared the source code. I find this particularly frustrating as your event processing doesn't work properly and no code gets generated here. Imho you should either share the source or ask a moderator to move it to Announcements or Applications Feedback.
You are right but I didn't thought it would get that mush attention. What system do you use because as I mentioned before I have at this time no Win7 or 64bit system available and this is also why I posted it in the tips & trics.
Have someone tested this with Win7 32bit? (to exclude the Win7 part)
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Aug 02, 2010 11:27 am
by Kiffi
RE-A wrote:but GUID_IXMLDOMDocument3 is not declared (as a GUID) in the source.
strange, except the interface order it gets generated just fine.
just correct the interface order (it affects only two interfaces)
an type 'EnableExplicit' in the first line of the generated code.
Then try to start the code.
Debugger wrote:With 'EnableExplicit', variables have to be declared: GUID_IXMLDOMDocument2.
(same with GUID_IXMLDOMDocument3, GUID_IXMLDOMSchemaCollection, GUID_IXMLDOMSchemaCollection2, and so on)
concerns to all ...CreateInstance() - Procedures.
(tested on XP and Vista Business)
Greetings ... Kiffi
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Aug 02, 2010 12:47 pm
by RE-A
Kiffi, you are right, it's a bug. I'll insert an "EnableExplicit" for every generated code
It will be corrected with the next version which will have an option window to select what code that should be generated.
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Aug 02, 2010 2:01 pm
by Kiffi
@RE-A: Great! Thanks!
A little feature request: it would be a little bit more comfortable
if there is a StringGadget which acts as a kind of filter.
e.g.: i type in this StringGadget 'XML' and the list shows all
entries, related to xml (MSXML3.DLL, MSXML4.DLL, ...)
Greetings ... Kiffi
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Tue Aug 03, 2010 7:59 am
by RE-A
New version 1.3.0
Changes:
- More error trapping
- Option window
e.g.: i type in this StringGadget 'XML' and the list shows all
entries, related to xml (MSXML3.DLL, MSXML4.DLL, ...)
- Prefix choice

Re: TypeLib Explorer [Windows COM Stuff]
Posted: Tue Aug 03, 2010 6:22 pm
by Kiffi
RE-A wrote:New version 1.3.0

Great, thanks!
RE-A wrote:- Prefix choice

i think you missunderstood me.
i mean something like this:
In this case, the filterstring is 'XML' (green Box) and all related items
are listed (red boxes).
Greetings ... Kiffi
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Wed Aug 04, 2010 8:40 am
by RE-A
Kiffi, at your service
I think this does it for now or someone has some good idea for generic event, example, etc… functions or maybe COMate code that can be reproduced for several typelibs (like the “CreateInstance” functions)?
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Thu Aug 05, 2010 11:03 am
by Kiffi
RE-A wrote:Kiffi, at your service

wonderful!
(perhaps do a search also in the description?)
Thanks & Greetings ... Kiffi
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Sun Mar 06, 2011 5:06 pm
by Project Mayu
I selected a anything from the list, pressed Create PB Code and nothing happens.
Type Lib Explorer V1.4
tlbinf32.dll - File version 1.1.81.69 - Product Version 6.00.8169
Windows XP Mode
Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Mar 14, 2011 5:59 pm
by Nico
Same thing

Re: TypeLib Explorer [Windows COM Stuff]
Posted: Mon Aug 22, 2022 6:01 pm
by RSrole
The link is broken. Anyone have this or one like it? I've used Com in powerbasic and c#, but struggling a bit in purebasic. Converting from the powerbasic typelib viewer to purebasic is a project in itself.
TIA
Russ