Failed to create Ole Client. result = -2147221008 [message #454480] |
Thu, 21 April 2005 23:59 |
Eclipse User |
|
|
|
Originally posted by: Abhinav.Vohra.siebel.com
All
I'm trying to create an activex control in a thread other than the one
running eclipse. Specifically, I create a new shell in a new thread (and
create a new display) and try to instantiate an activex control using
the ole32 libs. When it trys to create the OleControlSite it fails with
the following error Failed to create Ole Client. result = -2147221008.
-2147221008 translates to Coinitialize hasnt been called.
What am I missing?
Abhinav
|
|
|
Re: Failed to create Ole Client. result = -2147221008 [message #454551 is a reply to message #454480] |
Sun, 24 April 2005 01:28 |
Eclipse User |
|
|
|
Originally posted by: aaa.domain.invalid
Hi,
The only thing I can think of is ...is your control registered using
regsvr32.
-Chhil
Abhinav Vohra wrote:
> All
> I'm trying to create an activex control in a thread other than the one
> running eclipse. Specifically, I create a new shell in a new thread (and
> create a new display) and try to instantiate an activex control using
> the ole32 libs. When it trys to create the OleControlSite it fails with
> the following error Failed to create Ole Client. result = -2147221008.
>
> -2147221008 translates to Coinitialize hasnt been called.
>
> What am I missing?
>
> Abhinav
|
|
|
|
Powered by
FUDForum. Page generated in 0.02379 seconds