Relationship between the auto-generated code in the _TLB and the DLL file it was generated from?

The . Pas file is generated from the type library, which is typically contained within the COM DLL The . Pas file defines the interface to the COM DLL.COM DLL's which come with embedded type libraries have self-describing interfaces.

You still need documentation to understand what the interfaces and methods do, and how the parameters are used. But you don't need to write the boiler plate interface code yourself When a COM DLL has an embedded type library, you can create import units in your programming language of choice, not just Delphi If you want to know COM there is no better reference than Don Box's Essential COM one of the finest computing books I have ever read.

The . Pas file is generated from the type library, which is typically contained within the COM DLL. The .

Pas file defines the interface to the COM DLL. COM DLL's which come with embedded type libraries have self-describing interfaces. You still need documentation to understand what the interfaces and methods do, and how the parameters are used.

But you don't need to write the boiler plate interface code yourself. When a COM DLL has an embedded type library, you can create import units in your programming language of choice, not just Delphi. If you want to know COM there is no better reference than Don Box's Essential COM, one of the finest computing books I have ever read.

1 Again, a nice answer. – Ken White Mar 15 at 19:34 Your answer to my last question seems to have disappeared. I'm not sure if you deleted it because it wasn't accepted yet, but I am trying to just learn more right now and I would have accepted if hooking had worked for me.

– mnuzzo Mar 15 at 19:40 @mnuzzo I deleted it because I'm not sure we have a clear enough picture of what you are doing. I'll undelete it if you wish. – David Heffernan Mar 15 at 19:45 If you don't feel confident that it's appropriate yet, then that's ok with me.

This is my first time working with Delphi and DLL files so I'm not going to pretend that there's no possible other solution or that what I may be doing is the right way to go about it. All I know is the code that's in front of me, the error that's being caused and what I can see from the DLL files. – mnuzzo Mar 15 at 19:54.

The _TLB. Pas file is generated from the DLL; it is the Pascal based interface that your project will use to call functionality in the DLL. At compile time you will need the _TLB.

Pas; at run-time you need the DLL.

From the FAQ: Please don’t use signatures or taglines in your posts. Every post you make is already "signed" with your standard user card, which links directly back to your user page You are approaching 10k, you should have got on top of that by now! ;-) – David Heffernan Mar 15 at 21:36 @David: Thanks, I completely missed that.

Since I use this (very short --jeroen) signature everywhere, it is kind of in my autonomic nervous system. Will try to avoid it here in the future, but bear with me as I have to 'de-learn' my system :-) – Jeroen Pluimers Mar 15 at 21:51.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions