OLE/COM Interface generator v0.2

Developed or developing a new product in PureBasic? Tell the world about it.
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post by mskuma »

Hi S.M. - thanks again for this tool - not sure if you're still maintaining this tool. I noticed it crashed when you 'create from progID' using "Scripting.FileSystemObject" but there is no crash if you 'create from File' using "scrrun.dll" (corresponding dll).
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Hey Stefan, are you still maintaining this?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

hi,

is a good tool, but i find a bug.
Some methoden are not right. Some Methoden with get_xyz lost the last parameter.

GT :cry:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: OLE/COM Interface generator v0.2

Post by DoubleDutch »

Tried using this to create the interface for the Windows 7/8 Sensor library (sensorsapi.dll) - an error occured "No Typelib available!"

Any ideas on what this means?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
hichem
User
User
Posts: 26
Joined: Sun Sep 04, 2005 4:18 pm

Re: OLE/COM Interface generator v0.2

Post by hichem »

thank you , great tool
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: OLE/COM Interface generator v0.2

Post by Josh »

DoubleDutch wrote:Tried using this to create the interface for the Windows 7/8 Sensor library (sensorsapi.dll) - an error occured "No Typelib available!"

Any ideas on what this means?
I didn't find any sensorapi.dll at my Win7 System, so i can only speculate:
  • Not every DLL have to include a typelib. Probably it would say what it says.
  • The OLE/COM Interfacegenertator is verry buggy, so try with the TypLib Explorer
hichem wrote:thank you , great tool
Did you have a look to the date? :)
sorry for my bad english
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: OLE/COM Interface generator v0.2

Post by DoubleDutch »

Thanks, will try that. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: OLE/COM Interface generator v0.2

Post by SFSxOI »

Josh wrote:
DoubleDutch wrote:Tried using this to create the interface for the Windows 7/8 Sensor library (sensorsapi.dll) - an error occured "No Typelib available!"

Any ideas on what this means?
I didn't find any sensorapi.dll at my Win7 System, so i can only speculate:
  • Not every DLL have to include a typelib. Probably it would say what it says.
  • The OLE/COM Interfacegenertator is verry buggy, so try with the TypLib Explorer
hichem wrote:thank you , great tool
Did you have a look to the date? :)
Its 'Sensorsapi.dll' (notice the plural 's'). On Windows 7 Ultimate (have not checked other versions of Win 7) its located in 'C:\Windows\System32' and in the cache at 'C:\Windows\winsxs\x86_microsoft-windows-mobilepc-sensors-api_31bf3856ad364e35_6.1.7600.16385_none_024631b7702173a5'

Doesn't have a typelib.
Last edited by SFSxOI on Sat Aug 25, 2012 10:28 am, edited 3 times in total.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: OLE/COM Interface generator v0.2

Post by DoubleDutch »

That didn't find the dll in the list. It is there though in Windows/system32/...

Here is some more info on the SensorsAPI:

http://msdn.microsoft.com/en-us/library ... s.85).aspx

It would be great to get this working with PB.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: OLE/COM Interface generator v0.2

Post by DoubleDutch »

SFSxOI have you been able to get something to generate the interface code for it?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: OLE/COM Interface generator v0.2

Post by SFSxOI »

DoubleDutch wrote:SFSxOI have you been able to get something to generate the interface code for it?

Nope, not yet.

Probably going to need to code them manually.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: OLE/COM Interface generator v0.2

Post by Zebuddi123 »

Thanks for sharing Great work!!!!

What a great community, if we were using MS stuff We would have to pay an arm and a leg to have all these great utils We get free and code, help, advice, and improvements, requests at a drop of a hat!!!!


Thanks :) :) :) :) :)

Zebuddi.
malleo, caput, bang. Ego, comprehendunt in tempore
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: OLE/COM Interface generator v0.2

Post by SFSxOI »

@DoubleDutch

Just posted something for you at your other post at http://www.purebasic.fr/english/viewtop ... 82#p388882
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: OLE/COM Interface generator v0.2

Post by DoubleDutch »

SFSxOI: Thanks. I've PM'ed you about why I'm after this info... :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply