IDL files, not DLL?

Everything else that doesn't fall into one of the other PB categories.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

IDL files, not DLL?

Post by DoubleDutch »

What is an IDL file?

If you look at:
http://msdn.microsoft.com/en-us/library ... S.85).aspx

You will see that windows 7 has .idl as the extender that before you would see .dll !!!

Anyone know how to open and use an IDL file?

I'd like to use the new Ribbon interface if a user uses my app on Windows 7.

Edit:
Ahh! It's to do with COM...
http://www.codeproject.com/KB/COM/Basic ... _file.aspx

Perhaps SRod may come to the rescue?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It just contains the description of a COM interface.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

An .idl (interface definition language) file is usually compiled by the MIDL compiler to create either a proxy/stub for an out of process COM server or a type library for a COM server - usually an automation server or an ActiveX control etc.

I don't think you would attempt to access the idl file directly; but would instead compile it using MIDL or use it for reference. Simply load it up into notepad and browse through it to look at the interfaces; their methods and properties and so on.
I may look like a mule, but I'm not a complete ass.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Trond & SRod: Thanks for the info. I'll take a further look. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply