Hello,

as a viewer for my data I have written an ActiveX server as a QWidget and QAxBindable.
I have written several containers, everything works fine.

Now I have the problem, that I have to have different versions of my server on one machine. I gave them different CLSIDs so far. The classname and the name of the DLL should not be changed, they are in different directories to keep them apart.
But now the last registered DLL wins.

I have seen that there is a mechanism to register different versions of a server in the registry. They apear in HKEY_CLASSES_ROOT as
dllname.classname
dllname.classname.1
dllname.classname.2
and so on.
The first entry has a key CurVer, to show the actual DLL, but all DLLs are registered with their CLSID and the different containers can use their version.

How can I register my server with this .1 .2 numbers?

cya Uwe