ActiveX control in MFC
-
Hello, I have 3rd party Control(.OCX) which is running in VB without any problem. Now i m using it in MFC. Class Wizard creates wrapper classes for it automatically. Now Problem is when i call a method object.Add(BSTR *,VARIANT*); i use CComBSTR and CComVariant classes for sending the parameters to this Method. When I run the "Application 0xC0000005: Access Violation" a very bad ERROR message get flashed.for the sake of info that OCX is mcbarmenuv102.ocx i got from MCUNHA's ActiveX 's. Please Help Me.
-
Hello, I have 3rd party Control(.OCX) which is running in VB without any problem. Now i m using it in MFC. Class Wizard creates wrapper classes for it automatically. Now Problem is when i call a method object.Add(BSTR *,VARIANT*); i use CComBSTR and CComVariant classes for sending the parameters to this Method. When I run the "Application 0xC0000005: Access Violation" a very bad ERROR message get flashed.for the sake of info that OCX is mcbarmenuv102.ocx i got from MCUNHA's ActiveX 's. Please Help Me.