Is it possible to use more than one type library for a COM server?
--
Pierre Jr Roy
Algorithm Designer
Visual Med inc.
pr...@vmedsys.com
514-363-8513
1 TYPELIB TypeLib1.tlb
2 TYPELIB TypeLib2.tlb
And then run the rc file against the Borland Resource Compiler (brcc32). I
believe you'll find the correct syntax for the typelib rc from the
Automation Programmers Reference.
However, the VCL source is only aware of a single typelibrary file (the
primary type lib). So if you need to access the secondary type libs, you'll
need to manually load them using the ITypeLib APIs/interface.
have fun
--
Binh Ly
http://www.castle.net/~bly/Programming/Delphi
Pierre Jr Roy <pr...@vmedsys.com> wrote in message
news:7n4jfh$jv...@forums.borland.com...
I have used this approach in one place, where my project did not have a type
library but it had an implementation of a COM server for one of the
interfaces defined in the Typelib (imported using the $R directive)
Hope it works for you
Manoj Champanerkar.