Hi, Cavagnaro,
this.Tserver.AppDBID is not related to ActiveX. It is ID of your application in CME. I set it in config.xml file inside initTserverParams.
You need this AppDBID to make sure that OCS will reply to your requests. OCS I guess needs to know who it is talking to. I guess it is also necessary to track between different types of applications all using the same Communication DN.
Just in case you forgot, you need to create a third-party application in CME, and name it something. Then you will need to connect that application to OCS.
After that, you need to retrieve that application id from CME (dbid) (I dont remember it off hand, but it was either cfg_application or cfg_servers -- just look inside table until you find an entry with the name of your application. dbid key to the left of it is what you need!) And then use it for GSW_CM_AttrOriginAppID.
I know it sound like a lot, but actually, once you do it, you will never have to worry about it again - dbid in CME will not change unless you delete and re-create your application definition in there. I store dbid inside config.xml file for the application, but obviously you can hardcode it (even though I would strongly advise against it).
I think that it is possible to retrieve id of application using ActiveX without going into DB; however, I am not too sure. Give me a few hours and I will get back to you on that.
Best regards,
Vic