Dan Hughes
In COM, you don't/can't pass instances of language specific typed objects
mainly because it doesn't make sense at all. What does it mean for a VB
client to call a method in your server that hands out a TQuery? There's no
way a VB client can interpret or use TQuery at all because its
Delphi-specific.
However, you can wrap any Delphi class using another class that can expose
its methods and properties to the outside world using COM interfaces that
you normally define in your type library. Check out the TAutoIntfObject or
TInterfacedObject classes to get an idea of where to start.
have fun
--
Binh Ly
Brickhouse Data Systems, Inc.
http://www.brickhouse.com
Dan Hughes wrote in message <79sni8$dh...@forums.borland.com>...