CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using Pascal units with IUnknown



I am trying to use some Pascal code in a BCB project. In that Pascal code is
an interface descended from IUnknown. When the .hpp files were generated,
IUnknown was generated as Ole2::IUnknown. When I try to compile this, I get
the error 'IUnknown' is not a member of 'Ole2'.

Is what I am trying to do possible, or would I need to make a special
version of that code for BCB, declared using TInterfacedObject or something
like that?

Shawn Dyer
***************************************************************
Any opinions expressed above are my own and do not 
necessarily represent those of H&R Block.
***************************************************************



W Komornicki's Home Page | Main Index | Thread Index