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

Qt-interest Archive, January 2008
ActiveQt self registration fails


Message 1 in thread

I created a simple activeX using the ActiveQT framework, I was able to test 
the active using ActiveX Control test container, but when I tried to load 
the activeX from another application (SolidWorks) in my case the application 
hangs.

I tried to investigate the activeX using OleView.Exe and OleView also hangs, 
I tried to debug this and it seems that IViewers.dll is loaded many times.

I also tried to add the activeX to vs2005 and I received the message 
self-registration failed, I found an old post saying the problem should have 
been fixed in QT4.2.

I am using QT4.3.3 and it still does not work for me.

I will appreciate the help of a QT ActiveX champion.

Thanks,

Ashraf 

--
 [ signature omitted ] 

Message 2 in thread

"Ashraf Sultan" <asultan@xxxxxxxxxxxxxxx> wrote in message 
news:fn36lk$3i9$1@xxxxxxxxxxxxxxxxxxxxx
>I created a simple activeX using the ActiveQT framework, I was able to 
>test the active using ActiveX Control test container, but when I tried to 
>load the activeX from another application (SolidWorks) in my case the 
>application hangs.
>
> I tried to investigate the activeX using OleView.Exe and OleView also 
> hangs, I tried to debug this and it seems that IViewers.dll is loaded 
> many times.
>
> I also tried to add the activeX to vs2005 and I received the message 
> self-registration failed, I found an old post saying the problem should 
> have been fixed in QT4.2.
>
> I am using QT4.3.3 and it still does not work for me.
>
> I will appreciate the help of a QT ActiveX champion.


Is this an executable server, or a DLL server? Does the self-registration 
problem exist with the examples that come with Qt? What is IViewers.dll in 
this context? Is this your server DLL, or a DLL your server depends on?

Volker



--
 [ signature omitted ] 

Message 3 in thread

Hello Volker,

This is a Dll server, and the same problem happens even with the QT 
examples.

What I was doing is simply using the ActiveQt wizard from inside vs2005 SP1. 
And using the default to generate a Dll server.

Using the created activeX with ActiveX Control test container or with the qt 
test application works fine.

IViewer.dll is a Dll that OLE/COM view loads, I used devenv and tracked 
loading the dlls, as soon as it reached IViewer when I tried to load the QT 
based activeX is was trying to load it multiple times, and the operation 
never finished, this was part of the investigation.

The problem for me is not being able to add the QT based ActiveX to the 
controls in visual studio.

Thanks,

Ashraf

"Volker Hilsheimer" <unwatched@xxxxxxx> wrote in message 
news:fn8160$jos$1@xxxxxxxxxxxxxxxxxxxxx
> "Ashraf Sultan" <asultan@xxxxxxxxxxxxxxx> wrote in message 
> news:fn36lk$3i9$1@xxxxxxxxxxxxxxxxxxxxx
>>I created a simple activeX using the ActiveQT framework, I was able to 
>>test the active using ActiveX Control test container, but when I tried to 
>>load the activeX from another application (SolidWorks) in my case the 
>>application hangs.
>>
>> I tried to investigate the activeX using OleView.Exe and OleView also 
>> hangs, I tried to debug this and it seems that IViewers.dll is loaded 
>> many times.
>>
>> I also tried to add the activeX to vs2005 and I received the message 
>> self-registration failed, I found an old post saying the problem should 
>> have been fixed in QT4.2.
>>
>> I am using QT4.3.3 and it still does not work for me.
>>
>> I will appreciate the help of a QT ActiveX champion.
>
>
> Is this an executable server, or a DLL server? Does the self-registration 
> problem exist with the examples that come with Qt? What is IViewers.dll in 
> this context? Is this your server DLL, or a DLL your server depends on?
>
> Volker
>
>
> 

--
 [ signature omitted ]