Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Re: platform-swt-dev Digest, Vol 30, Issue 8

Thanks Duong!

It is probably because of improper registration.
But how do I register the class?
I tried looking for the .ocx control so that I could regsiter it manually but did not find it.


On 8/15/07, platform-swt-dev-request@xxxxxxxxxxx <platform-swt-dev-request@xxxxxxxxxxx > wrote:
Send platform-swt-dev mailing list submissions to
         platform-swt-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
or, via email, send a message with subject or body 'help' to
        platform-swt-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        platform-swt-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of platform-swt-dev digest..."


Today's Topics:

   1. Active X and SWT - Failed to create Ole Client    error.
      (Pranay Pramod)
   2. Re: Active X and SWT - Failed to create Ole       Client  error.
      (Duong Nguyen)


----------------------------------------------------------------------

Message: 1
Date: Tue, 14 Aug 2007 16:35:12 -0400
From: "Pranay Pramod" < pranay.pramod@xxxxxxxxx>
Subject: [platform-swt-dev] Active X and SWT - Failed to create Ole
        Client  error.
To: platform-swt-dev@xxxxxxxxxxx
Message-ID:
        <eb4db1b0708141335g13ff9ee5r1e8db796fb766864@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hello Everyone,

I had automated a software using its OLE automation Interface support for
OLE clients.
I used Active X support provided in SWT.

Now we are upgrading to a newer version of the software and  facing problem
automating it.

When I replace the older version program_id with the newer version:

OleControlSite controlSite = new OleControlSite(frame, SWT.NONE
,SOFTWAREXYZ_NEW_PROGID);

I get this excption thrown -
org.eclipse.swt.SWTException: Failed to create Ole Client. result =
-2147221164

    which actaully means error- (80040154)    Class not registered

Now what can I conclude out of this?
Why is the class not registered? which class actually is being talked about?


Any help would be appreciated!

Thanks
Pranay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://dev.eclipse.org/mailman/listinfo/platform-swt-dev/attachments/20070814/98366ff9/attachment.html

------------------------------

Message: 2
Date: Wed, 15 Aug 2007 11:32:34 -0400
From: Duong Nguyen < duongn@xxxxxxxxxx>
Subject: Re: [platform-swt-dev] Active X and SWT - Failed to create
        Ole     Client  error.
To: "Eclipse Platform SWT component developers list."
        <platform-swt-dev@xxxxxxxxxxx>
Message-ID:
        <OF67ECE404.D4A57775-ON85257338.0050A822-85257338.00555014@xxxxxxxxxx >
Content-Type: text/plain; charset="us-ascii"

"Class not registered" refers to the COM class that your Active X
requires. There can be several reasons for this:
        - low memory
        - missing dll
        - dll not registered properly
        - invalid permission on dll

There's currently a bug report for Windows Media Player 11 not working
with SWT. We're not sure why it stopped working.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=173556

Duong




"Pranay Pramod" < pranay.pramod@xxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
08/14/2007 04:35 PM
Please respond to
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx>


To
platform-swt-dev@xxxxxxxxxxx
cc

Subject
[platform-swt-dev] Active X and SWT - Failed to create Ole Client error.






Hello Everyone,

I had automated a software using its OLE automation Interface support for
OLE clients.
I used Active X support provided in SWT.

Now we are upgrading to a newer version of the software and  facing
problem automating it.

When I replace the older version program_id with the newer version:

OleControlSite controlSite = new OleControlSite(frame,
SWT.NONE,SOFTWAREXYZ_NEW_PROGID);

I get this excption thrown -
org.eclipse.swt.SWTException : Failed to create Ole Client. result =
-2147221164

    which actaully means error- (80040154)    Class not registered

Now what can I conclude out of this?
Why is the class not registered? which class actually is being talked
about?


Any help would be appreciated!

Thanks
Pranay
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://dev.eclipse.org/mailman/listinfo/platform-swt-dev/attachments/20070815/af185338/attachment.html

------------------------------

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


End of platform-swt-dev Digest, Vol 30, Issue 8
***********************************************


Back to the top