 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Wayne Herbert Guest
|
Posted: Fri Jan 30, 2004 4:00 pm Post subject: Of Type Libraries and *_TLB.pas |
|
|
OK... thanks to Avatar Zondertau for opening up the door to me for
noting that earling binding and components will solve my problem (I
owe you a beer).
Now, I have read how a type library must be installed and the file
Word_TLB.pas created. However, Word is already installed in my Delphi
5, and there is a Word2000.dcu in my Imports directory. There is no
Word_TLB.pas file to be found there.
If I click on the "Create Unit", I get the error message, "A class
named TWordApplication is already installed. So:
a) is Word2000.dcu the compiled equivalent of the Word_TLB.pas file?
b) where is the type IWordApplication defined? Not in what I am using
right now.
Thanks.
|
|
| Back to top |
|
 |
Avatar Zondertau Guest
|
Posted: Fri Jan 30, 2004 4:14 pm Post subject: Re: Of Type Libraries and *_TLB.pas |
|
|
| Quote: | Now, I have read how a type library must be installed and the file
Word_TLB.pas created. However, Word is already installed in my Delphi
5, and there is a Word2000.dcu in my Imports directory. There is no
Word_TLB.pas file to be found there.
If I click on the "Create Unit", I get the error message, "A class
named TWordApplication is already installed. So:
a) is Word2000.dcu the compiled equivalent of the Word_TLB.pas file?
|
It may be, i haven't installed it. I prefer the generated version. I think
you should disable it's package in the "Component => Install packages" list.
Unfortuantely i don't know the name of the package, but it should be there.
| Quote: | b) where is the type IWordApplication defined? Not in what I am using
right now.
|
I was wrong with the name (or you could say the wrappper generator is - it
doesn't follow Borland's own naming conventions). You can choose:
WordApplication or _Application.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|