[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Problem with ActiveX

I believe OleCreate calls CoCreateInstance with the parameters
CLSCTX_INPROC_HANDLER | CLSCTX_INPROC_SERVER.  What parameters did you use
when launching with CoCreateInstance?

"Paul Mukherjee" <paul_mukherjee@xxxxxxxxxxx> wrote in message
news:oprnxjf8ldrplrf9@xxxxxxxxxxxx
> Hi,
>
> I am trying to start Microsoft Visio as an ActiveX control from within
> Eclipse.
> When I try doing this by creating an instance of OleControlSite, I get an
> error
> message which translates to "Class not registered". On the other hand, I
> have no problem creating an instance of a Visio Drawing as an OLE
Document.
>
> Experimenting with Visual C++, I am able to create the ActiveX control I
> want
> using CoCreateInstance, but if I use OleCreate, I get the same error
> message as
> I do via SWT.
>
> Does anyone have experience with this? Am I trying to use SWT incorrectly,
> or is
> this a bug in the SWT mapping to COM?
>
> Thanks,
>
> Paul