I am trying to create a COM object that interacts with an existing
OLEObject and I can get it to work under VB but I wan't to create it using
PB and I can't get it. When I create it using PB, I know the existing
object sees my object as being compatible and having the function that it
wants but that my function isn't getting automatically called like it

I think the problem is this: When I created it in VB (which did work) I
declare the function as having two variant type params. But in PB if I try
to declare the function as having the equivalent params - two any's, the
dll won't compile and will tell me that any is an invalid COM datatype.

Thanks in advance for any help