Category : activex

I am currently using QTaxcontainer to use COM in a simple main file. I have an object: QAxObject *myComObj("the.Name"); which is initialized correctly as I successfully accessed some simple functions using: myComObj->dynamicCall("easyFun()"); Now I hava a more complex method to access which needs a BSTR, it is defined on the activeX side as: [id(2)] void ..

Read more

I do not know how get return value from ActiveX(c++) OCX. 1.ActiveX function announce like this namespace MedicareComLib { [ClassInterface(ClassInterfaceType.None)] [Guid("6ED3D8A4-FD47-4ED8-A93F-96EB87B5D830")] [TypeLibType(TypeLibTypeFlags.FCanCreate)] public class OutpatientClass : IOutpatient, Outpatient { public OutpatientClass(); [DispId(1)] public virtual void Open(out string OutInfo); [DispId(2)] public virtual void Close(out string OutInfo); [DispId(3)] public virtual void GetPersonInfo(out string PersonInfo); [DispId(4)] public virtual ..

Read more