Results 1 to 2 of 2

Thread: [ActiveQt] Overiding DllRegisterServer ?

  1. #1
    Join Date
    Nov 2007
    Posts
    53
    Qt products
    Qt4
    Platforms
    Windows
    Thanked 3 Times in 2 Posts

    Default [ActiveQt] Overiding DllRegisterServer ?

    Hello,

    Is there a way to override the implementation of DllRegisterServer provided automatically by the ActiveQt framework ?

    I'm trying to implement "band objects" from Qt but such an object require particular values in the Windows Registries.

    In the sample from the Platform SDK, the DllRegisterServer do more than registering the Class with its GUID but write some values in the registry as :

    InprocServer32 --> ThreadingModel --> Apartment...

    If it is not possible (I'm using a binary trial release so no Qt source that I can modify and if TrollTech don't permit to overriding it, it's surely not the good way to do it) what is the best solution ?

    Am I supposed to write directly those registries from an Installshied ? Not very practical during the development phase if I must writing the values myself with regedit.

    Thanks for your answer if someone as a good knowledge of ActiveQt.

  2. #2
    Join Date
    Nov 2007
    Posts
    53
    Qt products
    Qt4
    Platforms
    Windows
    Thanked 3 Times in 2 Posts

    Default Re: [ActiveQt] Overiding DllRegisterServer ?

    Hi,

    I post here just to keep a trace if someone is searching the same thing.

    There is two methods : registerClass and unregisterClass in QAxFactory that do the trick (I haven't tried it yet but it should work ;o)).
    Last edited by nooky59; 17th December 2007 at 11:14.

  3. The following 2 users say thank you to nooky59 for this useful post:

    bmn (13th September 2011), jacek (17th December 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.