Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, October 2007
Problem with Qt-Views


Message 1 in thread

Hi,

I have a problem with Jambi eclipse plugin Qt views. None of them work. 
There's error icon and message "Error creating the view." and stacktrace 
in details:
org.eclipse.swt.SWTException: Class ID not found in registry
    at org.eclipse.swt.ole.win32.OLE.error(OLE.java:317)
    at org.eclipse.swt.ole.win32.OLE.error(OLE.java:283)
    at 
org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:92)
    ...

I found some old mail where there was same problem and solution for that:
> Unfortunately there is a bug in the Windows open source package for the 
> Eclipse integration, which you seem to be . In order to make it work, 
> you need to edit the register_eclipse_integration.bat file.
>
> The .bat file currently reads as follows:
>
>     @regsvr32 /s plugins\com.trolltech.qtdesigner.win32.x86_1.0.1\qtdesigner.dll
>
> Change it to read as follows instead:
>
>     @regsvr32 plugins\com.trolltech.qtdesigner.win32._1.0.1\qtdesigner.dll
But this didn't do the trick as original path was already the correct. 
But I did remove 's' flag and got error dialog when running the bat 
file. Here's what dialog was telling:

The module
"plugins\com.trolltech.qtdesigner.win32.x86_1.0.1\qtdesigner.dll" was 
loaded but the call to DllRegisterServer failed with error code 0x80040201.

My system is:
Vista 64
java version 1.6.0_02-b06, 32 bit
eclipse 3.3.0
qtjambi-win32-gpl-4.3.1_01.zip
qtjambi-eclipse-integration-win32-4.3.1_01-mingw.zip

Any help appreciated.

timo


Message 2 in thread

Timo Arnivuo wrote:
>>
>>     @regsvr32 
>> plugins\com.trolltech.qtdesigner.win32._1.0.1\qtdesigner.dll
> But this didn't do the trick as original path was already the correct. 
> But I did remove 's' flag and got error dialog when running the bat 
> file. Here's what dialog was telling:
>
> The module
> "plugins\com.trolltech.qtdesigner.win32.x86_1.0.1\qtdesigner.dll" was 
> loaded but the call to DllRegisterServer failed with error code 
> 0x80040201.
>
> My system is:
> Vista 64

Hi, Timo.

Searching for the error message on Internet indicates that this is an 
issue with your access rights on your computer. There are a lot of 
reports of this particular error code being caused by the UAC, so could 
you please try disabling it to see if that fixes the problem?

(note that you also need to be Administrator or in Administrator Mode in 
order to register Active X components.)

-- Eskil


Message 3 in thread

Eskil Abrahamsen Blomfeldt wrote:
>
> Hi, Timo.
>
> Searching for the error message on Internet indicates that this is an 
> issue with your access rights on your computer. There are a lot of 
> reports of this particular error code being caused by the UAC, so 
> could you please try disabling it to see if that fixes the problem?
>
> (note that you also need to be Administrator or in Administrator Mode 
> in order to register Active X components.)
>
> -- Eskil
>
Hi,

Thanks, switching UAC off solved the problem.

timo