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

Qt-interest Archive, December 2006
ActiveQT + C#


Message 1 in thread

I'm trying to use an ActiveQt component in a C# application. I used
the wizard to create the component(I just added a button). It builds
with no errors and says its registered. I used the ActiveXHelper
utility and can see that it registered. I'm following the "Dot Net
Example (ActiveQt)" in the assistant. My control is not listed in the
COM components section when I try to add it to the C# project. If I
try to add it by selecting the dll it tells me that Self-registration
of the dll failed.

Anyone have a suggestions?

Thanks
Chris

Qt 4.1.4
Visual Studio 2005
.Net Framework 2.0.50727
WinXP Pro

--
 [ signature omitted ] 

Message 2 in thread

"Chris Garrett" <chris.garrett@xxxxxxxxxxxxxxxxxxxxx> wrote in message 
news:5e59d650612092028w46302666jf1d4fe41f2851b09@xxxxxxxxxxxxxxxxx
> I'm trying to use an ActiveQt component in a C# application. I used
> the wizard to create the component(I just added a button). It builds
> with no errors and says its registered. I used the ActiveXHelper
> utility and can see that it registered. I'm following the "Dot Net
> Example (ActiveQt)" in the assistant. My control is not listed in the
> COM components section when I try to add it to the C# project. If I
> try to add it by selecting the dll it tells me that Self-registration
> of the dll failed.
>
> Anyone have a suggestions?
>
> Thanks
> Chris
>
> Qt 4.1.4

Hi Chris,

try upgrading to Qt 4.2. This is most likely related to the following 
issue:


http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=120055


Volker


--
 [ signature omitted ]