InvokeHelper.. More info needed!
-
InvokeHelper() function... //MSDN says This method calls the object method or property specified by dwDispID, in the context specified by wFlags. The pbParamInfo parameter specifies the types of the parameters passed to the method or property. The variable list of arguments is represented by ... in the syntax declaration. well, that is what MSDN says about InvokeHelper method of COleDespatcher class. Now My confusion is.... I am trying to understand a project, which is an activex control whose purpose is to display some graphical interface to the data given from a server. Here the OCX project is using another library which is a wrapper for another library, customized to the requirements of OCX project. When I tried to trace how the flow of function call is going on.. it is happening like this.. my ocx project is calling method from wrapper project which is using InvokeHelper(..). my collegue says "it is all com funda".. and he showed me a method in another project where actual code is present. The function call is something like this.
InvokeHelper(0xa, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, iTraceNumber, &strTraceId, strSource);
But How do I come to know what is happening here.. it is all confusing. any ideas..? meanwhile I try to go thru the COM section of codeguru and codeproject. Thanx in advance Harinath Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076