> > Could you point me in the direction of a decent C++ wrapper that would
> > work?
>
> I do not know them, but Google finds:
>
> http://www.ablon.de/de/produkte/overviewstudio.htm
Java2COM has the necessary low-level tools for COM clients to call Java, but
there are two further challenges that an inplace ActiveX component must meet,
and which it does not seem to address.
One is the layer of convention/design built on top of COM which allows an
(inplace) ActiveX component to mesh with its runtime environment, and be
controlled by it. You'd have to replicate that layer of software on top of the
Java<->COM bridge (I gather that this is quite tricky, although I know nothing
about it myself, since there are many COM bindings for various languages which
allow you to create COM components, but relatively few, if any, which allow you
to create inplace ActiveX components).
The second is a need for a new implementation of java.awt.Toolkit which draws
its graphics within the bounds of the ActiveX component (assuming that it's
visual) and which interacts (below the AWT API level) with the containing
application.
Neither is /impossible/ (indeed browser/applet integration does something quite
similar, if more limited). But I don't think that interworking with COM is the
hardest part of the story.
> http://www.nevaobject.com/_docs/_java2com/java2com.htm
I hadn't heard of that before, but the server seems to be down just now, so I
can't comment.
-- chris